emacs : nushell mode update

This commit is contained in:
2023-11-24 16:15:54 +09:00
parent 375679068a
commit 508421f947
4 changed files with 42 additions and 34 deletions

View File

@ -4,3 +4,5 @@
!init.el !init.el
!custom-default.el !custom-default.el
!lisp/ !lisp/
!lisp/*
!.gitignore

View File

@ -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)

View 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

View File

@ -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