diff options
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/ols.lua')
-rw-r--r-- | start/lspconfig-0.1.8/lua/lspconfig/server_configurations/ols.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/ols.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/ols.lua new file mode 100644 index 0000000..6b890f6 --- /dev/null +++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/ols.lua @@ -0,0 +1,19 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'ols' }, + filetypes = { 'odin' }, + root_dir = util.root_pattern('ols.json', '.git', '*.odin'), + }, + docs = { + description = [[ + https://github.com/DanielGavin/ols + + `Odin Language Server`. + ]], + default_config = { + root_dir = [[util.root_pattern("ols.json", ".git", "*.odin")]], + }, + }, +} |