feat: Updates to nvim config and snippets

This commit is contained in:
2024-11-18 08:33:38 -05:00
parent eff01f42fd
commit 2e3c750979
11 changed files with 176 additions and 264 deletions

View File

@@ -1,31 +1,2 @@
-- This file contains plugin's that don't require much configuration.
return {
-- {
-- "L3MON4D3/LuaSnip",
-- version = "2.*",
-- build = "make install_jsregexp",
-- event = { 'BufReadPre', 'BufNewFile' },
-- config = function()
-- local luasnip = require('luasnip')
-- local types = require('luasnip.util.types')
-- luasnip.config.set_config {
-- history = true,
-- updateevents = "TextChanged,TextChangedI",
-- enable_autosnippets = true,
-- ext_opts = {
-- [types.choiceNode] = {
-- active = {
-- virt_text = { { "<-", "Error" } },
-- },
-- },
-- },
-- }
-- end
-- },
{
"hrsh7th/vim-vsnip",
config = function()
vim.g.vsnip_snippet_dir = os.getenv('HOME') .. '/.config/m-housh/lua/snippets/'
end
},
}
return {}