1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-28 10:24:47 +01:00

NVIM: Added neogen

This commit is contained in:
2026-03-24 02:47:58 +01:00
parent 2a08955030
commit 55268e8655
2 changed files with 19 additions and 11 deletions

View File

@@ -0,0 +1,7 @@
return {
-- generate annotations automatically
"danymat/neogen",
opts = {
snippet_engine = "luasnip",
},
}

View File

@@ -7,27 +7,28 @@ return {
"windwp/nvim-ts-autotag", "windwp/nvim-ts-autotag",
-- color brackets -- color brackets
-- 'p00f/nvim-ts-rainbow', -- 'p00f/nvim-ts-rainbow',
"nvim-treesitter/nvim-treesitter-context",
}, },
config = function() config = function()
local treesitter = require("nvim-treesitter") local treesitter = require("nvim-treesitter")
treesitter.setup() treesitter.setup()
treesitter.install({ treesitter.install({
"bash", "bash",
"css", "css",
"html", "html",
"markdown", "markdown",
"markdown_inline", "markdown_inline",
"latex", "latex",
"python", "python",
"rust", "rust",
"lua", "lua",
"yaml", "yaml",
}) })
require("nvim-ts-autotag").setup({ require("nvim-ts-autotag").setup({
opts = { opts = {
enable_close = true, enable_close = true,
enable_rename = true, enable_rename = true,
} },
}) })
-- WARN: not directly compatible anymore -- WARN: not directly compatible anymore
-- highlight = { enable = true }, -- highlight = { enable = true },