home: vim: configure 'null-ls' for 'c'
This commit is contained in:
parent
3aa859861e
commit
bb512cf838
10
home/vim/after/ftplugin/c.vim
Normal file
10
home/vim/after/ftplugin/c.vim
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||||
|
call ftplugined#check_undo_ft()
|
||||||
|
|
||||||
|
" Set-up LSP, linters, formatters
|
||||||
|
lua << EOF
|
||||||
|
local null_ls = require("null-ls")
|
||||||
|
null_ls.register({
|
||||||
|
null_ls.builtins.formatting.clang_format,
|
||||||
|
})
|
||||||
|
EOF
|
Loading…
Reference in a new issue