Compare commits
3 commits
9f68c11506
...
7d64ff07b0
Author | SHA1 | Date | |
---|---|---|---|
7d64ff07b0 | |||
a48b40d673 | |||
7e61bb2307 |
4 changed files with 17 additions and 2 deletions
|
@ -149,6 +149,12 @@ augroup lexical
|
||||||
autocmd FileType tex lexical#init()
|
autocmd FileType tex lexical#init()
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
g:mucomplete#can_complete = {
|
||||||
|
default: {
|
||||||
|
omni: (t) => strlen(&l:omnifunc) > 0 && (t =~# '\m\k\k$' || (g:mucomplete_with_key && t =~# '\m\S$'))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Configure a statusline and tabline using vim-crystalline. I tried a bunch of
|
# Configure a statusline and tabline using vim-crystalline. I tried a bunch of
|
||||||
# different statusline plugins and this one, which is basically just a utility
|
# different statusline plugins and this one, which is basically just a utility
|
||||||
# library for writing your *own* statusline functions, worked the best for my
|
# library for writing your *own* statusline functions, worked the best for my
|
||||||
|
|
|
@ -35,6 +35,6 @@ export def Configure(): void
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
g:lsp#lsp#AddServer(installedServers)
|
|
||||||
g:lsp#options#OptionsSet(options.lspOptions)
|
g:lsp#options#OptionsSet(options.lspOptions)
|
||||||
|
g:lsp#lsp#AddServer(installedServers)
|
||||||
enddef
|
enddef
|
||||||
|
|
|
@ -2,6 +2,7 @@ vim9script
|
||||||
|
|
||||||
export const lspOptions = {
|
export const lspOptions = {
|
||||||
aleSupport: true,
|
aleSupport: true,
|
||||||
|
autoComplete: false, # I prefer manual tab completion using MUcomplete
|
||||||
ignoreMissingServer: true,
|
ignoreMissingServer: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,14 @@ import '../tools/perl.vim'
|
||||||
import '../tools/strings.vim'
|
import '../tools/strings.vim'
|
||||||
|
|
||||||
const lspServers = [
|
const lspServers = [
|
||||||
|
{
|
||||||
|
name: 'clojure-lsp',
|
||||||
|
filetype: 'clojure',
|
||||||
|
path: '/usr/local/bin/clojure-lsp',
|
||||||
|
args: [],
|
||||||
|
install: 'brew install clojure-lsp/brew/clojure-lsp-native',
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'dockerfile-langserver',
|
name: 'dockerfile-langserver',
|
||||||
filetype: 'dockerfile',
|
filetype: 'dockerfile',
|
||||||
|
@ -136,7 +144,7 @@ const lspServers = [
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'vscode-css-language-server',
|
name: 'vscode-css-language-server',
|
||||||
filetype: 'css',
|
filetype: ['css', 'less', 'sass', 'scss'],
|
||||||
path: expand('~/.local/bin/vscode-css-language-server'),
|
path: expand('~/.local/bin/vscode-css-language-server'),
|
||||||
args: ['--stdio'],
|
args: ['--stdio'],
|
||||||
install: 'npm install -g vscode-langservers-extracted',
|
install: 'npm install -g vscode-langservers-extracted',
|
||||||
|
|
Loading…
Reference in a new issue