mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
nvim: adding commentstring for kdl filetype
This commit is contained in:
parent
4e3c5ac2f6
commit
66d64343c6
1 changed files with 7 additions and 0 deletions
|
|
@ -28,6 +28,13 @@ autocmd('Filetype', {
|
|||
end
|
||||
})
|
||||
|
||||
autocmd('Filetype', {
|
||||
pattern = 'kdl',
|
||||
callback = function()
|
||||
vim.cmd('setlocal commentstring=//\\%s')
|
||||
end
|
||||
})
|
||||
|
||||
|
||||
--
|
||||
-- Indent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue