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
|
||||
!custom-default.el
|
||||
!lisp/
|
||||
!lisp/*
|
||||
!.gitignore
|
||||
|
||||
@ -103,6 +103,7 @@ Otherwise the startup will be very slow. "
|
||||
(require 'init-rust)
|
||||
(require 'init-python)
|
||||
(require 'init-ruby)
|
||||
(require 'init-shell)
|
||||
|
||||
(require 'init-latex)
|
||||
(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-cexp-indent 4)
|
||||
(setq verilog-case-indent 4)
|
||||
(setq verilog-auto-newline nil)
|
||||
(use-package verilog-ext
|
||||
:hook ((verilog-mode . verilog-ext-mode))
|
||||
:init
|
||||
;; Can also be set through `M-x RET customize-group RET verilog-ext':
|
||||
;; Comment out/remove the ones you do not need
|
||||
(when ON-WINDOWS
|
||||
(setq verilog-ext-flycheck-linter 'verilog-iverilog)
|
||||
(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 verilog-ext-eglot-svlangserver-bin-path "svlangserver"))
|
||||
(setq verilog-ext-feature-list
|
||||
'(font-lock
|
||||
xref
|
||||
capf
|
||||
hierarchy
|
||||
eglot
|
||||
lsp
|
||||
flycheck
|
||||
beautify
|
||||
navigation
|
||||
template
|
||||
formatter
|
||||
compilation
|
||||
imenu
|
||||
which-func
|
||||
hideshow
|
||||
typedefs
|
||||
time-stamp
|
||||
block-end-comments
|
||||
ports))
|
||||
:config
|
||||
(verilog-ext-mode-setup)))
|
||||
(setq verilog-auto-newline nil))
|
||||
(use-package verilog-ext
|
||||
:hook ((verilog-mode . verilog-ext-mode))
|
||||
:init
|
||||
;; Can also be set through `M-x RET customize-group RET verilog-ext':
|
||||
;; Comment out/remove the ones you do not need
|
||||
(when ON-WINDOWS ;; on-linux verilator
|
||||
(setq verilog-ext-flycheck-linter 'verilog-iverilog)
|
||||
(add-to-list 'exec-path "c:/iverilog/bin")
|
||||
(setq flycheck-verilog-iverilog-executable "iverilog.exe"))
|
||||
(setq verilog-ext-feature-list
|
||||
'(font-lock
|
||||
xref
|
||||
;; capf
|
||||
hierarchy
|
||||
eglot
|
||||
;; lsp
|
||||
flycheck
|
||||
beautify
|
||||
navigation
|
||||
template
|
||||
formatter
|
||||
compilation
|
||||
imenu
|
||||
which-func
|
||||
hideshow
|
||||
typedefs
|
||||
time-stamp
|
||||
block-end-comments
|
||||
ports))
|
||||
:config
|
||||
(verilog-ext-mode-setup))
|
||||
|
||||
(provide 'init-verilog)
|
||||
;;; init-verilog.el ends here
|
||||
|
||||
Reference in New Issue
Block a user