diff --git a/init.el b/init.el index efb0243..58d566b 100644 --- a/init.el +++ b/init.el @@ -1092,14 +1092,6 @@ (eglot-sync-connect nil) (eglot-autoreconnect (* 60 5)) (eglot-events-buffer-config '(:size 0)) - (eglot-ignored-server-capabilities - '(:documentHighlightProvider - :documentFormattingProvider - :documentRangeFormattingProvider - :documentOnTypeFormattingProvider - :documentLinkProvider - :colorProvider - :foldingRangeProvider)) :init (setq eglot-stay-out-of '(flymake)) :config @@ -1222,7 +1214,6 @@ (use-package nix-mode :if (package-installed-p 'nix-mode) - :mode "\\.nix\\'" :functions nix-prettify-global-mode :config (require 'nix) @@ -1231,13 +1222,22 @@ (require 'nix-store) (nix-prettify-global-mode +1)) +(use-package nix-ts-mode + :if (package-installed-p 'nix-ts-mode) + :after (nix-mode) + :mode "\\.nix$") + (use-package sh-script :custom (sh-basic-offset 2)) -(use-package lua-mode - :if (package-installed-p 'lua-mode) - :mode "\\.lua\\'") +(use-package julia-mode + :if (package-installed-p 'julia-mode)) + +(use-package julia-ts-mode + :if (package-installed-p 'julia-ts-mode) + :after (julia-mode) + :mode "\\.jl$") (defun my/enable-fill-column (col) "Set and enable fill column to `COL'."