mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-17 09:13:32 +09:00
emacs : nushell mode update
This commit is contained in:
2
.config/emacs/.gitignore
vendored
2
.config/emacs/.gitignore
vendored
@ -4,3 +4,5 @@
|
|||||||
!init.el
|
!init.el
|
||||||
!custom-default.el
|
!custom-default.el
|
||||||
!lisp/
|
!lisp/
|
||||||
|
!lisp/*
|
||||||
|
!.gitignore
|
||||||
|
|||||||
@ -103,6 +103,7 @@ Otherwise the startup will be very slow. "
|
|||||||
(require 'init-rust)
|
(require 'init-rust)
|
||||||
(require 'init-python)
|
(require 'init-python)
|
||||||
(require 'init-ruby)
|
(require 'init-ruby)
|
||||||
|
(require 'init-shell)
|
||||||
|
|
||||||
(require 'init-latex)
|
(require 'init-latex)
|
||||||
(require 'init-verilog)
|
(require 'init-verilog)
|
||||||
|
|||||||
7
.config/emacs/lisp/init-shell.el
Normal file
7
.config/emacs/lisp/init-shell.el
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
;;; init-eshell.el -*- lexical-binding: t -*-
|
||||||
|
;; Emacs command shell
|
||||||
|
|
||||||
|
(use-package nushell-mode)
|
||||||
|
|
||||||
|
(provide 'init-shell)
|
||||||
|
;;; init-eshell.el ends here
|
||||||
@ -11,40 +11,38 @@
|
|||||||
(setq verilog-indent-lists nil)
|
(setq verilog-indent-lists nil)
|
||||||
(setq verilog-cexp-indent 4)
|
(setq verilog-cexp-indent 4)
|
||||||
(setq verilog-case-indent 4)
|
(setq verilog-case-indent 4)
|
||||||
(setq verilog-auto-newline nil)
|
(setq verilog-auto-newline nil))
|
||||||
(use-package verilog-ext
|
(use-package verilog-ext
|
||||||
:hook ((verilog-mode . verilog-ext-mode))
|
:hook ((verilog-mode . verilog-ext-mode))
|
||||||
:init
|
:init
|
||||||
;; Can also be set through `M-x RET customize-group RET verilog-ext':
|
;; Can also be set through `M-x RET customize-group RET verilog-ext':
|
||||||
;; Comment out/remove the ones you do not need
|
;; Comment out/remove the ones you do not need
|
||||||
(when ON-WINDOWS
|
(when ON-WINDOWS ;; on-linux verilator
|
||||||
(setq verilog-ext-flycheck-linter 'verilog-iverilog)
|
(setq verilog-ext-flycheck-linter 'verilog-iverilog)
|
||||||
(add-to-list 'exec-path "c:/iverilog/bin")
|
(add-to-list 'exec-path "c:/iverilog/bin")
|
||||||
(add-to-list 'exec-path "c:/User/Users/AppData/Roaming/npm")
|
(setq flycheck-verilog-iverilog-executable "iverilog.exe"))
|
||||||
(setq flycheck-verilog-iverilog-executable "iverilog.exe")
|
(setq verilog-ext-feature-list
|
||||||
(setq verilog-ext-eglot-svlangserver-bin-path "svlangserver"))
|
'(font-lock
|
||||||
(setq verilog-ext-feature-list
|
xref
|
||||||
'(font-lock
|
;; capf
|
||||||
xref
|
hierarchy
|
||||||
capf
|
eglot
|
||||||
hierarchy
|
;; lsp
|
||||||
eglot
|
flycheck
|
||||||
lsp
|
beautify
|
||||||
flycheck
|
navigation
|
||||||
beautify
|
template
|
||||||
navigation
|
formatter
|
||||||
template
|
compilation
|
||||||
formatter
|
imenu
|
||||||
compilation
|
which-func
|
||||||
imenu
|
hideshow
|
||||||
which-func
|
typedefs
|
||||||
hideshow
|
time-stamp
|
||||||
typedefs
|
block-end-comments
|
||||||
time-stamp
|
ports))
|
||||||
block-end-comments
|
:config
|
||||||
ports))
|
(verilog-ext-mode-setup))
|
||||||
:config
|
|
||||||
(verilog-ext-mode-setup)))
|
|
||||||
|
|
||||||
(provide 'init-verilog)
|
(provide 'init-verilog)
|
||||||
;;; init-verilog.el ends here
|
;;; init-verilog.el ends here
|
||||||
|
|||||||
Reference in New Issue
Block a user