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
!custom-default.el
!lisp/
!lisp/*
!.gitignore

View File

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

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-cexp-indent 4)
(setq verilog-case-indent 4)
(setq verilog-auto-newline nil)
(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
(when ON-WINDOWS ;; on-linux verilator
(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 flycheck-verilog-iverilog-executable "iverilog.exe"))
(setq verilog-ext-feature-list
'(font-lock
xref
capf
;; capf
hierarchy
eglot
lsp
;; lsp
flycheck
beautify
navigation
@ -44,7 +42,7 @@
block-end-comments
ports))
:config
(verilog-ext-mode-setup)))
(verilog-ext-mode-setup))
(provide 'init-verilog)
;;; init-verilog.el ends here