changes for linux

This commit is contained in:
Matt Nish-Lapidus 2024-10-03 11:52:34 -04:00
parent da95fce1b9
commit aedfacb215
2 changed files with 14 additions and 3 deletions

View file

@ -383,9 +383,12 @@
"s-x" #'kill-region "s-x" #'kill-region
"s-a" #'mark-whole-buffer "s-a" #'mark-whole-buffer
"s-z" #'undo "s-z" #'undo
"s-Z" #'undo-redo
"s-w" #'kill-buffer "s-w" #'kill-buffer
"s-f" #'+default/search-buffer "s-f" #'+default/search-buffer
"s-g" #'vertico-repeat "s-g" #'vertico-repeat
"s-s" #'save-buffer
"s-;" #'comment-dwim
"M-s-<up>" #'next-window-any-frame "M-s-<up>" #'next-window-any-frame
"M-s-<down>" #'previous-window-any-frame "M-s-<down>" #'previous-window-any-frame
"s-M-h" #'windmove-left "s-M-h" #'windmove-left

View file

@ -220,10 +220,18 @@
(after! lsp-mode (after! lsp-mode
(setq lsp-signature-render-documentation nil) (setq lsp-signature-render-documentation nil)
(lsp-register-client
(make-lsp-client :new-connection (lsp-stdio-connection "nixd")
:major-modes '(nix-mode)
:priority 0
:server-id 'nixd))
(add-to-list 'lsp-language-id-configuration '(a-janet-mode . "janet")) (add-to-list 'lsp-language-id-configuration '(a-janet-mode . "janet"))
(lsp-register-client (make-lsp-client :new-connection (lsp-stdio-connection "janet-lsp") (lsp-register-client
:activation-fn (lsp-activate-on "janet") (make-lsp-client :new-connection (lsp-stdio-connection "janet-lsp")
:server-id 'janet-ls))) :activation-fn (lsp-activate-on "janet")
:server-id 'janet-ls)))
(after! lisp-markup (after! lisp-markup
(add-hook! 'lisp-mode 'lisp-markup-minor-mode)) (add-hook! 'lisp-mode 'lisp-markup-minor-mode))