diff --git a/flake.nix b/flake.nix index 6a19d0f..0fff96c 100644 --- a/flake.nix +++ b/flake.nix @@ -171,6 +171,7 @@ rustaceanvim crates-nvim haskell-tools-nvim + vim-sleuth ]; }; diff --git a/init.lua b/init.lua index c59802e..40ef6c3 100644 --- a/init.lua +++ b/init.lua @@ -19,6 +19,14 @@ vim.opt.foldexpr = "nvim_treesitter#foldexpr()" vim.opt.foldmethod = "expr" vim.opt.foldenable = false +vim.opt.signcolumn = "yes" +vim.opt.updatetime = 250 + +vim.opt.list = true +vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "␣" } + +vim.opt.scrolloff = 10 + vim.cmd.colorscheme("rose-pine") require("nvim-treesitter.configs").setup({ diff --git a/lua/plugins/lz-spec.lua b/lua/plugins/lz-spec.lua index d2af0b0..82982cd 100644 --- a/lua/plugins/lz-spec.lua +++ b/lua/plugins/lz-spec.lua @@ -12,6 +12,7 @@ return { require("plugins.render-markdown"), require("plugins.toggleterm"), { "telescope-ui-select.nvim" }, + { "vim-sleuth" }, { "nvim-lspconfig", event = "BufEnter",