Adding zig support.

This commit is contained in:
Micheal Smith
2025-09-15 21:05:31 -05:00
parent 4e0f029c7b
commit f78afba892
2 changed files with 18 additions and 0 deletions

View File

@@ -1274,6 +1274,7 @@ the package.
(fennel-mode . lsp-deferred) (fennel-mode . lsp-deferred)
(rust-ts-mode . lsp-deferred) (rust-ts-mode . lsp-deferred)
(slint-mode . lsp-deferred) (slint-mode . lsp-deferred)
(zig-mode . lsp-deferred)
;; if you want which-key integration ;; if you want which-key integration
(lsp-mode . lsp-enable-which-key-integration)) (lsp-mode . lsp-enable-which-key-integration))
:commands lsp-deferred :commands lsp-deferred
@@ -1328,6 +1329,11 @@ bother with an explanation on each.
:config :config
(add-to-list 'auto-mode-alist '("\\.slint\\'" . slint-mode))) (add-to-list 'auto-mode-alist '("\\.slint\\'" . slint-mode)))
(use-package zig-mode
:defer t
:config
(add-to-list 'auto-mode-alist '("\\.\\(zig\\|zon\\)\\'" . zig-mode)))
(use-package rainbow-mode (use-package rainbow-mode
:commands (rainbow-mode)) :commands (rainbow-mode))
@@ -1477,6 +1483,9 @@ taking tool has.
(org-roam-db-autosync-mode)) (org-roam-db-autosync-mode))
(use-package orgmdb
:ensure t)
(use-package org-roam-ui (use-package org-roam-ui
:after (org-roam) :after (org-roam)
:ensure t :ensure t

View File

@@ -1274,6 +1274,7 @@ the package.
(fennel-mode . lsp-deferred) (fennel-mode . lsp-deferred)
(rust-ts-mode . lsp-deferred) (rust-ts-mode . lsp-deferred)
(slint-mode . lsp-deferred) (slint-mode . lsp-deferred)
(zig-mode . lsp-deferred)
;; if you want which-key integration ;; if you want which-key integration
(lsp-mode . lsp-enable-which-key-integration)) (lsp-mode . lsp-enable-which-key-integration))
:commands lsp-deferred :commands lsp-deferred
@@ -1328,6 +1329,11 @@ bother with an explanation on each.
:config :config
(add-to-list 'auto-mode-alist '("\\.slint\\'" . slint-mode))) (add-to-list 'auto-mode-alist '("\\.slint\\'" . slint-mode)))
(use-package zig-mode
:defer t
:config
(add-to-list 'auto-mode-alist '("\\.\\(zig\\|zon\\)\\'" . zig-mode)))
(use-package rainbow-mode (use-package rainbow-mode
:commands (rainbow-mode)) :commands (rainbow-mode))
@@ -1477,6 +1483,9 @@ taking tool has.
(org-roam-db-autosync-mode)) (org-roam-db-autosync-mode))
(use-package orgmdb
:ensure t)
(use-package org-roam-ui (use-package org-roam-ui
:after (org-roam) :after (org-roam)
:ensure t :ensure t