mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-08 13:30:47 -05:00
Enable zig-mode/zls
This commit is contained in:
parent
de23ad58bf
commit
0b715d6a2d
2 changed files with 10 additions and 12 deletions
|
@ -34,8 +34,8 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
|||
fi
|
||||
|
||||
{{ if eq .chezmoi.hostname "helix" -}}
|
||||
xinput set-prop 13 285 1 &
|
||||
xinput set-prop 13 305 1 &
|
||||
xinput set-prop 11 285 1 &
|
||||
xinput set-prop 11 305 1 &
|
||||
{{- else if eq .chezmoi.hostname "triangulum" }}
|
||||
xinput set-prop 10 306 1 &
|
||||
{{- else if eq .chezmoi.hostname "hydrus" }}
|
||||
|
|
|
@ -756,14 +756,14 @@
|
|||
|
||||
;; Zig
|
||||
|
||||
;(use-package zig-mode
|
||||
; :custom (zig-format-on-save nil)
|
||||
; :config
|
||||
; (add-to-list 'lsp-language-id-configuration '(zig-mode . "zig"))
|
||||
; (make-lsp-client
|
||||
; :new-connection (lsp-stdio-connection "/usr/bin/zls")
|
||||
; :major-modes '(zig-mode)
|
||||
; :server-id 'zls))
|
||||
(use-package zig-mode
|
||||
:config
|
||||
(add-to-list 'lsp-language-id-configuration '(zig-mode . "zig"))
|
||||
(lsp-register-client
|
||||
(make-lsp-client
|
||||
:new-connection (lsp-stdio-connection "/usr/bin/zls")
|
||||
:major-modes '(zig-mode)
|
||||
:server-id 'zls)))
|
||||
|
||||
;; Templating
|
||||
(use-package yasnippet
|
||||
|
@ -779,7 +779,5 @@
|
|||
(tex-mode . yas-minor-mode)
|
||||
(latex-mode . yas-minor-mode))
|
||||
|
||||
|
||||
|
||||
(use-package yasnippet-snippets)
|
||||
;;; End init.el
|
||||
|
|
Loading…
Reference in a new issue