Compare commits

...

3 Commits

Author SHA1 Message Date
Alyxia Sother ba156d9ecc
[Meta] Add .luarc.json 2023-05-19 11:36:26 +02:00
Alyxia Sother 42cb4145cf
[nvim] If enabled, build coc-cl from source 2023-05-19 11:35:00 +02:00
Alyxia Sother 5ee89b2253
[nvim] Add some language-specific plugins 2023-05-19 11:34:20 +02:00
4 changed files with 15 additions and 0 deletions

3
.luarc.json Normal file
View File

@ -0,0 +1,3 @@
{
"workspace.checkThirdParty": false
}

View File

@ -0,0 +1,2 @@
call extend(g:dotfiles_coc_extensions, {'coc-cl': 1})
call extend(g:dotfiles_coc_filetypes, {'lisp': 1})

View File

@ -0,0 +1,4 @@
if !has('nvim-0.2.1') | finish | endif
call extend(g:dotfiles_coc_extensions, {'coc-stylua': 1})
let g:coc_user_config['coc.preferences.formatOnSaveFiletypes'] = ['lua']
let g:coc_user_config['stylua.styluaPath'] = "/usr/bin/stylua"

View File

@ -46,6 +46,12 @@ let s:plug = funcref('dotfiles#plugman#register')
" }}}
" }}}
" coc {{{
if g:dotfiles_build_coc_from_source
call s:plug('https://github.com/UltiRequiem/coc-cl', { 'do': 'yarn install --frozen-lockfile && yarn build' })
endif
" }}}
" Misc {{{
if has('nvim')
call s:plug('andweeb/presence.nvim')