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,25 +11,23 @@
(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-eglot-svlangserver-bin-path "svlangserver"))
(setq verilog-ext-feature-list (setq verilog-ext-feature-list
'(font-lock '(font-lock
xref xref
capf ;; capf
hierarchy hierarchy
eglot eglot
lsp ;; lsp
flycheck flycheck
beautify beautify
navigation navigation
@ -44,7 +42,7 @@
block-end-comments block-end-comments
ports)) ports))
:config :config
(verilog-ext-mode-setup))) (verilog-ext-mode-setup))
(provide 'init-verilog) (provide 'init-verilog)
;;; init-verilog.el ends here ;;; init-verilog.el ends here