1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 11:24:55 +02:00

nvim: adding commentstring for kdl filetype

This commit is contained in:
Henrik Hautakoski 2024-07-26 14:19:51 +02:00
parent 4e3c5ac2f6
commit 66d64343c6

View file

@ -28,6 +28,13 @@ autocmd('Filetype', {
end
})
autocmd('Filetype', {
pattern = 'kdl',
callback = function()
vim.cmd('setlocal commentstring=//\\%s')
end
})
--
-- Indent