Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
15
.config/nvim/lsp/motoko_lsp.lua
Normal file
15
.config/nvim/lsp/motoko_lsp.lua
Normal file
|
|
@ -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',
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue