diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..23b9ee2 --- /dev/null +++ b/.luarc.json @@ -0,0 +1,3 @@ +{ + "workspace.checkThirdParty": false +} \ No newline at end of file diff --git a/nvim/coc-languages/lisp.vim b/nvim/coc-languages/lisp.vim new file mode 100644 index 0000000..bb594d3 --- /dev/null +++ b/nvim/coc-languages/lisp.vim @@ -0,0 +1,2 @@ +call extend(g:dotfiles_coc_extensions, {'coc-cl': 1}) +call extend(g:dotfiles_coc_filetypes, {'lisp': 1}) diff --git a/nvim/coc-languages/lua.vim b/nvim/coc-languages/lua.vim new file mode 100644 index 0000000..a102961 --- /dev/null +++ b/nvim/coc-languages/lua.vim @@ -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" diff --git a/nvim/dotfiles/plugins-list.vim b/nvim/dotfiles/plugins-list.vim index 87965af..e35cf19 100644 --- a/nvim/dotfiles/plugins-list.vim +++ b/nvim/dotfiles/plugins-list.vim @@ -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')