neovim/runtime/ftplugin/swift.lua

4 lines
102 B
Lua

vim.bo.commentstring = '// %s'
vim.b.undo_ftplugin = vim.b.undo_ftplugin .. ' | setl commentstring<'