nvim: add faust-nvim, reenable matchup, fix comment-string

This commit is contained in:
PowerUser64 2023-12-23 05:37:12 -08:00
parent cce9b77bc6
commit 0370aa726d

View file

@ -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',
} }