add skip_ts_context_commentstring_module
This commit is contained in:
@@ -12,14 +12,15 @@ autocmd('FileType', {
|
||||
end,
|
||||
})
|
||||
|
||||
--[[ -- ─────────────────────[ set options for gitcommit ]─────────────────────
|
||||
-- ─────────────────────[ set options for gitcommit ]─────────────────────
|
||||
autocmd('FileType', {
|
||||
pattern = 'gitcommit',
|
||||
callback = function()
|
||||
vim.opt_local.textwidth = 78
|
||||
vim.opt_local.spell = true
|
||||
o.colorcolumn = '+1,+2'
|
||||
o.textwidth = 78
|
||||
o.spell = true
|
||||
end,
|
||||
}) ]]
|
||||
})
|
||||
|
||||
-- ┌
|
||||
-- │ Highlight on yank
|
||||
|
||||
@@ -9,4 +9,4 @@ return {
|
||||
enable_close_on_slash = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
vim.g.skip_ts_context_commentstring_module = true
|
||||
|
||||
return {
|
||||
'JoosepAlviste/nvim-ts-context-commentstring',
|
||||
dependencies = {
|
||||
|
||||
@@ -57,13 +57,13 @@ return {
|
||||
enable = true,
|
||||
swap_next = {
|
||||
['<leader>na'] = '@parameter.inner', -- swap parameters/argument with next
|
||||
['<leader>n:'] = '@property.outer', -- swap object property with next
|
||||
['<leader>nm'] = '@function.outer', -- swap function with next
|
||||
['<leader>n:'] = '@property.outer', -- swap object property with next
|
||||
['<leader>nm'] = '@function.outer', -- swap function with next
|
||||
},
|
||||
swap_previous = {
|
||||
['<leader>pa'] = '@parameter.inner', -- swap parameters/argument with prev
|
||||
['<leader>p:'] = '@property.outer', -- swap object property with prev
|
||||
['<leader>pm'] = '@function.outer', -- swap function with previous
|
||||
['<leader>p:'] = '@property.outer', -- swap object property with prev
|
||||
['<leader>pm'] = '@function.outer', -- swap function with previous
|
||||
},
|
||||
},
|
||||
move = {
|
||||
@@ -158,4 +158,4 @@ return {
|
||||
vim.keymap.set({ 'n', 'x', 'o' }, ']b', next_buffer)
|
||||
vim.keymap.set({ 'n', 'x', 'o' }, '[b', prev_buffer)
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user