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