File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
; ;; hog.el --- Functions for working with Hog -*- lexical-binding : t ; -*-
2
2
; ;
3
- ; ; Copyright (C) 2021-2024 Andrew Peck
3
+ ; ; Copyright (C) 2021-2025 Andrew Peck
4
4
5
5
; ; Author: Andrew Peck <peckandrew@gmail.com>
6
6
; ; URL: https://github.com/andrewpeck/hog-emacs
@@ -470,6 +470,11 @@ The resulting list is of the form:
470
470
(find-file (file-name-directory
471
471
(car (file-expand-wildcards file-with-path)))))))
472
472
473
+ (defun hog-add-src-file ()
474
+ " Add a source file in the current project."
475
+ (interactive )
476
+ (insert (completing-read " File: " (split-string (shell-command-to-string " git ls-files --full-name :/*.vhd :/*.vhd :/*.sv :/*.v :/*.svh :/*.src :/*.xdc :/*.tcl" )))))
477
+
473
478
;;;### autoload
474
479
(defun hog-expand-glob-at-point ()
475
480
" Unglob a globbed entry in a source file.
You can’t perform that action at this time.
0 commit comments