summaryrefslogtreecommitdiff
path: root/ted.cfg
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-03-02 10:44:11 -0500
committerpommicket <pommicket@gmail.com>2023-03-02 10:44:11 -0500
commiteddcc7e8c6c02970ac658024b3a8c6b5f416c8a5 (patch)
tree542e3eb5536cf4abb9592a88ff779fc0d2763103 /ted.cfg
parent595cc50b7985ec67c49c6e2ffc649cb04692a318 (diff)
comment-start and comment-end settings
Diffstat (limited to 'ted.cfg')
-rw-r--r--ted.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/ted.cfg b/ted.cfg
index 517c206..82fd2eb 100644
--- a/ted.cfg
+++ b/ted.cfg
@@ -115,12 +115,15 @@ root-identifiers = .ted-root, .ted-root.out, Cargo.toml, make.bat, CMakeLists.tx
[C.core]
lsp = "clangd --log=error"
+comment-start = "// "
[C++.core]
lsp = "clangd --log=error"
+comment-start = "// "
[Go.core]
lsp = "gopls"
+comment-start = "// "
[Java.core]
lsp = "jdtls"
@@ -132,29 +135,52 @@ lsp-configuration = `{
}
}
}`
+comment-start = "// "
[JavaScript.core]
lsp = "typescript-language-server --stdio"
+comment-start = "// "
[TypeScript.core]
lsp = "typescript-language-server --stdio"
+comment-start = "// "
+
+[JSON.core]
+comment-start = "// "
+
+[GLSL.core]
+comment-start = "// "
[Python.core]
lsp = "pylsp"
+comment-start = "# "
[Rust.core]
lsp = "rust-analyzer"
+comment-start = "// "
[Tex.core]
lsp = "texlab"
+comment-start = "% "
+
+[HTML.core]
+comment-start = "<!-- "
+comment-end = " -->"
+
+[XML.core]
+comment-start = "<!-- "
+comment-end = " -->"
+
# phantom completions are just annoying if you're not actually programming
[Markdown.core]
phantom-completions = off
[TedCfg.core]
phantom-completions = off
+comment-start = "# "
[Config.core]
phantom-completions = off
+comment-start = "# "
[Text.core]
phantom-completions = off