aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/vls.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp/vls.lua')
-rw-r--r--.config/nvim/lsp/vls.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lsp/vls.lua b/.config/nvim/lsp/vls.lua
new file mode 100644
index 0000000..f92981a
--- /dev/null
+++ b/.config/nvim/lsp/vls.lua
@@ -0,0 +1,14 @@
+---@brief
+---
+--- https://github.com/vlang/vls
+---
+--- V language server.
+---
+--- `v-language-server` can be installed by following the instructions [here](https://github.com/vlang/vls#installation).
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'v', 'ls' },
+ filetypes = { 'v', 'vlang' },
+ root_markers = { 'v.mod', '.git' },
+}