diff options
Diffstat (limited to '.config/nvim/lsp/motoko_lsp.lua')
-rw-r--r-- | .config/nvim/lsp/motoko_lsp.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/nvim/lsp/motoko_lsp.lua b/.config/nvim/lsp/motoko_lsp.lua new file mode 100644 index 0000000..f4cd7e4 --- /dev/null +++ b/.config/nvim/lsp/motoko_lsp.lua @@ -0,0 +1,15 @@ +---@brief +--- +--- https://github.com/dfinity/vscode-motoko +--- +--- Language server for the Motoko programming language. + +---@type vim.lsp.Config +return { + cmd = { 'motoko-lsp', '--stdio' }, + filetypes = { 'motoko' }, + root_markers = { 'dfx.json', '.git' }, + init_options = { + formatter = 'auto', + }, +} |