dotfiles/nvim/coc-languages/lua.vim
2023-05-19 11:34:20 +02:00

4 lines
233 B
VimL

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"