Compare commits
No commits in common. "d2e002661849af0401f8e9b07be5d413079f6e2b" and "db3019386ff21be19d0f1d7909255dfef8ec3436" have entirely different histories.
d2e0026618
...
db3019386f
3 changed files with 1 additions and 26 deletions
|
@ -100,12 +100,8 @@ g:mucomplete#can_complete = {
|
||||||
import "./lsp.vim"
|
import "./lsp.vim"
|
||||||
lsp.LazyConfigure()
|
lsp.LazyConfigure()
|
||||||
|
|
||||||
set formatexpr=lsp#lsp#FormatExpr()
|
|
||||||
set keywordprg=:LspHover
|
set keywordprg=:LspHover
|
||||||
nnoremap gD <Cmd>LspGotoDeclaration<CR>
|
|
||||||
nnoremap gd <Cmd>LspGotoDefinition<CR>
|
nnoremap gd <Cmd>LspGotoDefinition<CR>
|
||||||
nnoremap gi <Cmd>LspGotoImpl<CR>
|
nnoremap gi <Cmd>LspGotoImpl<CR>
|
||||||
nnoremap <C-k> <Cmd>LspShowSignature<CR>
|
|
||||||
nnoremap gr <Cmd>LspShowReferences<CR>
|
|
||||||
xnoremap <silent> <Leader>e <Cmd>LspSelectionExpand<CR>
|
xnoremap <silent> <Leader>e <Cmd>LspSelectionExpand<CR>
|
||||||
xnoremap <silent> <Leader>s <Cmd>LspSelectionShrink<CR>
|
xnoremap <silent> <Leader>s <Cmd>LspSelectionShrink<CR>
|
||||||
|
|
|
@ -17,14 +17,6 @@ const lspServers = [
|
||||||
install: 'brew install lua-language-server',
|
install: 'brew install lua-language-server',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
name: 'taplo',
|
|
||||||
filetype: 'toml',
|
|
||||||
path: '/usr/local/bin/taplo',
|
|
||||||
args: ['lsp', 'stdio'],
|
|
||||||
install: 'brew install taplo',
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'tilt-lsp',
|
name: 'tilt-lsp',
|
||||||
filetype: 'bzl',
|
filetype: 'bzl',
|
||||||
|
@ -75,23 +67,10 @@ const lspServers = [
|
||||||
args: ['--stdio'],
|
args: ['--stdio'],
|
||||||
install: 'npm install -g vim-language-server',
|
install: 'npm install -g vim-language-server',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
name: 'yaml-language-server',
|
|
||||||
filetype: 'yaml',
|
|
||||||
path: expand('~/.local/bin/yaml-language-server'),
|
|
||||||
args: ['--stdio'],
|
|
||||||
workspaceConfig: {yaml: {
|
|
||||||
format: {enable: true, singleQuote: true},
|
|
||||||
schemaStore: {enable: true, url: 'https://www.schemastore.org/api/json/catalog.json'},
|
|
||||||
}},
|
|
||||||
install: 'npm install -g yaml-language-server',
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
|
|
||||||
const lspOptions = {
|
const lspOptions = {
|
||||||
aleSupport: true,
|
aleSupport: true,
|
||||||
ignoreMissingServer: true,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
command! -nargs=0 -bar LspInstall Install()
|
command! -nargs=0 -bar LspInstall Install()
|
||||||
|
@ -146,3 +125,4 @@ export def Install(): void
|
||||||
# understand exactly what the install script is doing.
|
# understand exactly what the install script is doing.
|
||||||
term->term_sendkeys(installScript)
|
term->term_sendkeys(installScript)
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,6 @@ minpac#add('Glench/Vim-Jinja2-Syntax')
|
||||||
minpac#add('tweekmonster/braceless.vim')
|
minpac#add('tweekmonster/braceless.vim')
|
||||||
|
|
||||||
minpac#add('vito-c/jq.vim')
|
minpac#add('vito-c/jq.vim')
|
||||||
minpac#add('NoahTheDuke/vim-just')
|
|
||||||
|
|
||||||
minpac#add('fladson/vim-kitty')
|
minpac#add('fladson/vim-kitty')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue