Treesitter and LSP further config
This commit is contained in:
parent
bff2c82dd0
commit
dc38d0dec3
6
init.el
6
init.el
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue