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