Refactoring
- Added macos
This commit is contained in:
parent
03a7616e8c
commit
2c1ccaffd1
47 changed files with 76 additions and 33 deletions
17
global/.config/nvim/lua/plugins/comment.lua
Normal file
17
global/.config/nvim/lua/plugins/comment.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
local config = function()
|
||||
require("ts_context_commentstring").setup({
|
||||
enable_autocmd = false,
|
||||
})
|
||||
require("Comment").setup({
|
||||
pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(),
|
||||
})
|
||||
end
|
||||
|
||||
return {
|
||||
"numToStr/Comment.nvim",
|
||||
opts = config,
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
{ "JoosepAlviste/nvim-ts-context-commentstring" },
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue