mirror of
https://github.com/pnx/dotfiles
synced 2026-06-18 12:00:02 +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
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
autocmd('Filetype', {
|
||||||
|
pattern = 'kdl',
|
||||||
|
callback = function()
|
||||||
|
vim.cmd('setlocal commentstring=//\\%s')
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Indent
|
-- Indent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue