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:
7
.config/nvim/lua/plugins/neogen.lua
Normal file
7
.config/nvim/lua/plugins/neogen.lua
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
return {
|
||||||
|
-- generate annotations automatically
|
||||||
|
"danymat/neogen",
|
||||||
|
opts = {
|
||||||
|
snippet_engine = "luasnip",
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user