nvim: nerd fonts 3
This commit is contained in:
parent
a755c2b7de
commit
0f3d0b27a2
2 changed files with 22 additions and 11 deletions
|
@ -1,6 +1,7 @@
|
||||||
[
|
[
|
||||||
(property_declaration)
|
(property_declaration)
|
||||||
; (field_declaration)
|
; (field_declaration)
|
||||||
|
(variable_declaration)
|
||||||
(accessor_declaration)
|
(accessor_declaration)
|
||||||
|
|
||||||
; (declaration_list)
|
; (declaration_list)
|
||||||
|
@ -48,6 +49,8 @@
|
||||||
(interface_declaration body: _ @indent.begin)
|
(interface_declaration body: _ @indent.begin)
|
||||||
(enum_declaration body: _ @indent.begin)
|
(enum_declaration body: _ @indent.begin)
|
||||||
|
|
||||||
|
(property_declaration (accessor_list "{" @indent.branch) @indent.dedent)
|
||||||
|
|
||||||
(switch_section
|
(switch_section
|
||||||
(case_switch_label) (case_switch_label) @indent.branch)
|
(case_switch_label) (case_switch_label) @indent.branch)
|
||||||
|
|
||||||
|
@ -90,7 +93,7 @@
|
||||||
(using_statement
|
(using_statement
|
||||||
body: (block "{" @indent.branch))
|
body: (block "{" @indent.branch))
|
||||||
|
|
||||||
["catch" "finally" "else" "}" "]" ] @indent.branch
|
["catch" "finally" "else" "}" "]" ")" ] @indent.branch
|
||||||
|
|
||||||
["}" ")" "]" ] @indent.end
|
["}" ")" "]" ] @indent.end
|
||||||
|
|
||||||
|
|
|
@ -31,12 +31,20 @@ return {
|
||||||
{
|
{
|
||||||
'chrisgrieser/nvim-various-textobjs',
|
'chrisgrieser/nvim-various-textobjs',
|
||||||
keys = {
|
keys = {
|
||||||
{ 'ii', function() require('various-textobjs').indentation(true, true) end, mode = { 'o', 'x' },
|
{
|
||||||
|
'ii',
|
||||||
|
function() require('various-textobjs').indentation(true, true) end,
|
||||||
|
mode = { 'o', 'x' },
|
||||||
desc =
|
desc =
|
||||||
'Inside indent' },
|
'Inside indent',
|
||||||
{ 'ai', function() require('various-textobjs').indentation(false, false) end, mode = { 'o', 'x' },
|
},
|
||||||
|
{
|
||||||
|
'ai',
|
||||||
|
function() require('various-textobjs').indentation(false, false) end,
|
||||||
|
mode = { 'o', 'x' },
|
||||||
desc =
|
desc =
|
||||||
'Around indent' },
|
'Around indent',
|
||||||
|
},
|
||||||
-- { 'iI', function() require('various-textobjs').indentation(true, true) end, mode = { 'o', 'x' }, desc = '' },
|
-- { 'iI', function() require('various-textobjs').indentation(true, true) end, mode = { 'o', 'x' }, desc = '' },
|
||||||
-- { 'aI', function() require('various-textobjs').indentation(false, false) end, mode = { 'o', 'x' }, desc = '' },
|
-- { 'aI', function() require('various-textobjs').indentation(false, false) end, mode = { 'o', 'x' }, desc = '' },
|
||||||
{ 'iS', function() require('various-textobjs').subword(true) end, mode = { 'o', 'x' }, desc = '' },
|
{ 'iS', function() require('various-textobjs').subword(true) end, mode = { 'o', 'x' }, desc = '' },
|
||||||
|
|
Loading…
Add table
Reference in a new issue