prefer single-line comments
This commit is contained in:
parent
bc77f74e5a
commit
90945969d8
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ return require('packer').startup(function()
|
||||||
require('kommentary.config').use_extended_mappings()
|
require('kommentary.config').use_extended_mappings()
|
||||||
vim.api.nvim_set_keymap("n", "", "<Plug>kommentary_line_default", {}) -- C-/
|
vim.api.nvim_set_keymap("n", "", "<Plug>kommentary_line_default", {}) -- C-/
|
||||||
vim.api.nvim_set_keymap("v", "", "<Plug>kommentary_visual_default", {}) -- C-/
|
vim.api.nvim_set_keymap("v", "", "<Plug>kommentary_visual_default", {}) -- C-/
|
||||||
|
|
||||||
|
require('kommentary.config').configure_language("default", {
|
||||||
|
prefer_single_line_comments = true,
|
||||||
|
})
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue