aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2026-02-03 13:44:30 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2026-02-03 13:44:30 +0200
commit9c84dcac3b986eec6e968470b5751e244e341d7b (patch)
tree78d975f5546dd650edfd3887e067e171d8268374 /home
parenteb227174bc2d251b31cf0d22028465aae11da925 (diff)
downloadnixos-9c84dcac3b986eec6e968470b5751e244e341d7b.tar.zst
Update
Diffstat (limited to 'home')
-rw-r--r--home/default.nix7
-rw-r--r--home/nvim/lsp.lua1
-rw-r--r--home/nvim/plugins/treesitter.lua3
3 files changed, 11 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix
index 4ca97c3..b40a8ea 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -256,6 +256,13 @@ in
};
programs = {
+ tex-fmt = {
+ enable = true;
+ settings = {
+ wrap = false;
+ tabchar = "tab";
+ };
+ };
go = {
enable = true;
telemetry.mode = "off";
diff --git a/home/nvim/lsp.lua b/home/nvim/lsp.lua
index 2b8a730..36849fb 100644
--- a/home/nvim/lsp.lua
+++ b/home/nvim/lsp.lua
@@ -289,6 +289,7 @@ vim.lsp.config("bashls", {
vim.lsp.config("texlab", {
cmd = { "texlab" },
filetypes = { "tex", "plaintex", "bib" },
+ latexFormatter = "tex-fmt"
})
vim.lsp.enable({
diff --git a/home/nvim/plugins/treesitter.lua b/home/nvim/plugins/treesitter.lua
index c408901..7f470b0 100644
--- a/home/nvim/plugins/treesitter.lua
+++ b/home/nvim/plugins/treesitter.lua
@@ -9,4 +9,7 @@ require "nvim-treesitter".setup {
max_file_lines = 2000,
},
additional_vim_regex_highlighting = false,
+ indent = {
+ enable = true,
+ },
}