feat: finalize migration to chezmoi and modernize configuration logic
- Modularize Hyprland config into hyprland.d/ - Implement infinitely scalable monitor/workspace logic using templates and loop-based data structures - Consolidate host-specific configs (hyprlock, hyprpaper, waybar) into single templates - Resolve waybar symlink conflict and fix template execution errors - Integrate chezmoi data variables for scale, resolution, and peripherals
This commit is contained in:
18
dot_config/nvim/lua/plugins/luasnip.lua
Normal file
18
dot_config/nvim/lua/plugins/luasnip.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
"L3MON4D3/LuaSnip",
|
||||
enabled = true,
|
||||
version = "v2.*",
|
||||
build = "make install_jsregexp",
|
||||
event = "InsertEnter",
|
||||
dependencies = {
|
||||
"rafamadriz/friendly-snippets",
|
||||
},
|
||||
config = function(plugin, opts)
|
||||
-- run the default astronvim config that calls the setup call
|
||||
require "astronvim.plugins.configs.luasnip"(plugin, opts)
|
||||
-- lazy load snippets from friendly-snippets
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
-- add more custom luasnip configuration such as filetype extend or custom snippets
|
||||
require("luasnip").filetype_extend("javascript", { "javascriptreact" })
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user