update vim config

This commit is contained in:
Kopatz
2023-12-21 12:09:09 +01:00
parent 77ee887f79
commit c436386945
3 changed files with 21 additions and 19 deletions

View File

@@ -188,7 +188,8 @@ require('lazy').setup({
},
build = ':TSUpdate',
},
{'romgrk/barbar.nvim',
{
'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
@@ -253,7 +254,7 @@ vim.o.ignorecase = true
vim.o.smartcase = true
-- Keep signcolumn on by default
vim.wo.signcolumn = 'yes'
vim.wo.signcolumn = 'number'
-- Decrease update time
vim.o.updatetime = 250
@@ -563,4 +564,3 @@ vim.opt.termguicolors = true
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et

View File

@@ -3,9 +3,9 @@ return {
version = "*",
lazy = false,
config = function()
require('treesitter-context').setup{
require('treesitter-context').setup {
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
max_lines = 0, -- How many lines the window should span. Values <= 0 mean no limit.
max_lines = 1, -- How many lines the window should span. Values <= 0 mean no limit.
min_window_height = 0, -- Minimum editor window height to enable context. Values <= 0 mean no limit.
line_numbers = true,
multiline_threshold = 20, -- Maximum number of lines to collapse for a single context line
@@ -19,3 +19,4 @@ return {
}
end,
}

View File

@@ -124,6 +124,7 @@
./modules/gpg.nix
#./modules/virt-manager.nix dont need atm
./modules/flatpak.nix
./modules/docker.nix
./modules/nftables.nix
./modules/noise-supression.nix
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })