aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvchad/configs/luasnip.lua54
-rw-r--r--.config/nvchad/configs/null-ls.lua3
-rw-r--r--.config/nvchad/configs/vimtex.lua5
-rw-r--r--.config/nvchad/plugins.lua17
-rw-r--r--.config/sway/config2
5 files changed, 80 insertions, 1 deletions
diff --git a/.config/nvchad/configs/luasnip.lua b/.config/nvchad/configs/luasnip.lua
new file mode 100644
index 00000000..c8642e64
--- /dev/null
+++ b/.config/nvchad/configs/luasnip.lua
@@ -0,0 +1,54 @@
+require("luasnip.loaders.from_vscode").load {
+ exclude = {
+ "cobol",
+ "csharp",
+ "css",
+ "docker",
+ "frameworks",
+ "java",
+ "javascript",
+ "lua",
+ "php",
+ "PowerShell",
+ "dart",
+ "eelixir",
+ "elixir",
+ "erb",
+ "erlang",
+ "fennel",
+ "fortran",
+ "fsh",
+ "gdscript",
+ "gitcommit",
+ "global",
+ "glsl",
+ "go",
+ "haskell",
+ "html",
+ "julia",
+ "kotlin",
+ "kubernetes",
+ "license",
+ "liquid",
+ "make",
+ "mint",
+ "norg",
+ "nushell",
+ "objc",
+ "org",
+ "plantuml",
+ "quarto",
+ "r",
+ "rescript",
+ "rmarkdown",
+ "ruby",
+ "scala",
+ "solidity",
+ "sql",
+ "svelte",
+ "swift",
+ "systemverilog",
+ "verilog",
+ "vhdl",
+ },
+}
diff --git a/.config/nvchad/configs/null-ls.lua b/.config/nvchad/configs/null-ls.lua
index cd635ee2..5a84df14 100644
--- a/.config/nvchad/configs/null-ls.lua
+++ b/.config/nvchad/configs/null-ls.lua
@@ -21,6 +21,9 @@ local sources = {
-- json
b.diagnostics.jsonlint,
+
+ -- latex
+ b.formatting.latexindent,
}
null_ls.setup {
diff --git a/.config/nvchad/configs/vimtex.lua b/.config/nvchad/configs/vimtex.lua
new file mode 100644
index 00000000..c25558d5
--- /dev/null
+++ b/.config/nvchad/configs/vimtex.lua
@@ -0,0 +1,5 @@
+vim.g.tex_flavor='latex'
+vim.g.vimtex_view_method='zathura'
+vim.g.vimtex_quickfix_mode=0
+vim.opt.conceallevel = 1
+vim.g.tex_conceal='abdmg'
diff --git a/.config/nvchad/plugins.lua b/.config/nvchad/plugins.lua
index e760bc1d..b51fcbf1 100644
--- a/.config/nvchad/plugins.lua
+++ b/.config/nvchad/plugins.lua
@@ -41,6 +41,23 @@ local plugins = {
require("better_escape").setup()
end,
},
+
+ {
+ "lervag/vimtex",
+ lazy = false,
+ config = function()
+ require("custom.configs.vimtex")
+ end,
+ },
+
+ {
+ "L3MON4D3/LuaSnip",
+ dependencies = { "rafamadriz/friendly-snippets" },
+ config = function()
+ require("custom.configs.luasnip")
+ end,
+ lazy = false,
+ },
}
return plugins
diff --git a/.config/sway/config b/.config/sway/config
index 8448871b..3ecdbb9a 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -14,7 +14,7 @@ set $down j
set $up k
set $right l
-output * bg ~/.img/wallpaper/waves_mono.png fill
+output * bg ~/.img/wallpaper/coffeecat.png fill
exec /usr/bin/mako
exec /usr/bin/gentoo-pipewire-launcher