Skip to content

Commit 25be0a5

Browse files
authored
Support some treesit prog-mode (#3824)
Support + c-ts-mode + c++-ts-mode + css-ts-mode + java-ts-mode + js-ts-mode + json-ts-mode + python-ts-mode
1 parent bc8889c commit 25be0a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lsp-mode.el

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,15 +760,18 @@ Changes take effect only when a new session is started."
760760
(clojurec-mode . "clojure")
761761
(clojurescript-mode . "clojurescript")
762762
(java-mode . "java")
763+
(java-ts-mode . "java")
763764
(jdee-mode . "java")
764765
(groovy-mode . "groovy")
765766
(python-mode . "python")
767+
(python-ts-mode . "python")
766768
(cython-mode . "python")
767769
(lsp--render-markdown . "markdown")
768770
(rust-mode . "rust")
769771
(rustic-mode . "rust")
770772
(kotlin-mode . "kotlin")
771773
(css-mode . "css")
774+
(css-ts-mode . "css")
772775
(less-mode . "less")
773776
(less-css-mode . "less")
774777
(lua-mode . "lua")
@@ -778,7 +781,9 @@ Changes take effect only when a new session is started."
778781
(scad-mode . "openscad")
779782
(xml-mode . "xml")
780783
(c-mode . "c")
784+
(c-ts-mode . "c")
781785
(c++-mode . "cpp")
786+
(c++-ts-mode . "cpp")
782787
(cuda-mode . "cuda")
783788
(objc-mode . "objective-c")
784789
(html-mode . "html")
@@ -794,10 +799,12 @@ Changes take effect only when a new session is started."
794799
(powershell-mode . "powershell")
795800
(powershell-mode . "PowerShell")
796801
(json-mode . "json")
802+
(json-ts-mode . "json")
797803
(jsonc-mode . "jsonc")
798804
(rjsx-mode . "javascript")
799805
(js2-mode . "javascript")
800806
(js-mode . "javascript")
807+
(js-ts-mode . "javascript")
801808
(typescript-mode . "typescript")
802809
(fsharp-mode . "fsharp")
803810
(reason-mode . "reason")

0 commit comments

Comments
 (0)