We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d88ae66 commit 1909fdaCopy full SHA for 1909fda
lua/lspconfig/server_configurations/c3_lsp.lua
@@ -0,0 +1,21 @@
1
+local util = require 'lspconfig.util'
2
+
3
+return {
4
+ default_config = {
5
+ cmd = { 'c3lsp' },
6
+ root_dir = function(fname)
7
+ return util.root_pattern 'project.json'(fname) or util.root_pattern '.git'(fname)
8
+ end,
9
+ filetypes = { 'c3', 'c3i' },
10
+ },
11
+ docs = {
12
+ description = [[
13
+https://github.com/pherrymason/c3-lsp
14
15
+Language Server for c3.
16
+ ]],
17
18
+ root_dir = [[root_pattern("project.json", ".git")]],
19
20
21
+}
0 commit comments