From af359192b4cc314e1f9bed104e545ee128ffa9f8 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 10 Oct 2024 17:54:49 -0700 Subject: [PATCH] feat: qol improvements stolen from kickstart --- flake.nix | 1 + init.lua | 8 ++++++++ lua/plugins/lz-spec.lua | 1 + 3 files changed, 10 insertions(+) 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",