Treesitter and LSP further config

This commit is contained in:
Curt Spark 2026-03-25 10:55:52 +00:00
parent bff2c82dd0
commit dc38d0dec3
1 changed files with 5 additions and 1 deletions

View File

@ -715,6 +715,8 @@
(tsx . ("https://github.com/tree-sitter/tree-sitter-typescript" "master" "tsx/src"))
(ruby . ("https://github.com/tree-sitter/tree-sitter-ruby"))
(rust . ("https://github.com/tree-sitter/tree-sitter-rust"))
(swift . ("https://github.com/tree-sitter/swift-tree-sitter"))
(nix . ("https://github.com/nix-community/tree-sitter-nix"))
(sql . ("https://github.com/m-novikov/tree-sitter-sql"))
(toml . ("https://github.com/tree-sitter/tree-sitter-toml"))
(zig . ("https://github.com/GrayJack/tree-sitter-zig"))))
@ -744,7 +746,7 @@
:ensure t
:mode "\\.swift\\'")
(use-package nix-ts-mode
:ensure nil
:ensure t
:mode "\\.nix\\'")
(use-package html-ts-mode
:ensure nil
@ -770,6 +772,7 @@
(c-mode . c-ts-mode)
(rust-mode . rust-ts-mode)
(nix-mode . nix-ts-mode)
(rustic-mode . rust-ts-mode)
(python-mode . python-ts-mode)
(html-mode . html-ts-mode)
@ -822,6 +825,7 @@
;; LSP Configuration
(use-package eglot
:ensure nil
:hook
(((
bash-ts-mode