nvim: add faust-nvim, reenable matchup, fix comment-string
This commit is contained in:
parent
cce9b77bc6
commit
0370aa726d
1 changed files with 17 additions and 12 deletions
|
@ -335,9 +335,9 @@ return require('packer').startup({function()
|
||||||
-- require("twilight").setup()
|
-- require("twilight").setup()
|
||||||
-- end,
|
-- end,
|
||||||
-- }
|
-- }
|
||||||
-- use { -- matchup: Use the percent (%) key for more things
|
use { -- matchup: Use the percent (%) key for more things
|
||||||
-- 'andymass/vim-matchup',
|
'andymass/vim-matchup',
|
||||||
-- }
|
}
|
||||||
use { -- indentline: Line indent indicators
|
use { -- indentline: Line indent indicators
|
||||||
'lukas-reineke/indent-blankline.nvim',
|
'lukas-reineke/indent-blankline.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
|
@ -422,6 +422,18 @@ return require('packer').startup({function()
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
use { -- faust-nvim: faust integration
|
||||||
|
'madskjeldgaard/faust-nvim',
|
||||||
|
config = function()
|
||||||
|
require 'faust-nvim'
|
||||||
|
require 'faust-nvim'.load_snippets()
|
||||||
|
end,
|
||||||
|
requires = {
|
||||||
|
'vijaymarupudi/nvim-fzf',
|
||||||
|
'L3MON4D3/LuaSnip'
|
||||||
|
}--,
|
||||||
|
-- run = require'faust-nvim'.post_install, -- Generate documentation etc (currently doesn't work it seems)
|
||||||
|
}
|
||||||
|
|
||||||
-- Conveniences
|
-- Conveniences
|
||||||
use { -- sort motion: (gs)
|
use { -- sort motion: (gs)
|
||||||
|
@ -521,16 +533,9 @@ return require('packer').startup({function()
|
||||||
}
|
}
|
||||||
use { -- ts-context-commentstring: set commentstring based on context from treesitter (two langs in one file)
|
use { -- ts-context-commentstring: set commentstring based on context from treesitter (two langs in one file)
|
||||||
'JoosepAlviste/nvim-ts-context-commentstring',
|
'JoosepAlviste/nvim-ts-context-commentstring',
|
||||||
requires = { 'nvim-treesitter/nvim-treesitter' },
|
requires = { 'nvim-treesitter/nvim-treesitter', },
|
||||||
config = function()
|
|
||||||
require'nvim-treesitter.configs'.setup {
|
|
||||||
context_commentstring = {
|
|
||||||
enable = true,
|
|
||||||
enable_autocmd = false,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
use { -- vim-rooter: cd to the root of a project when opening a file or folder
|
use { -- vim-rooter: cd to the root of a project when opening a file or folder
|
||||||
'notjedi/nvim-rooter.lua',
|
'notjedi/nvim-rooter.lua',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue