finally no red whitespace?i

This commit is contained in:
cnst
2024-07-15 16:58:43 +02:00
parent c378fa7c40
commit 7052dc1c10
25 changed files with 28 additions and 912 deletions

View File

@@ -17,5 +17,15 @@
];
command = "setlocal spell spelllang=en,se";
}
{
event = "TextYankPost";
desc = "Highlight when yanking (copying) text";
# group = "vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true })";
callback = {
__raw = "function()
vim.highlight.on_yank()
end";
};
}
];
}

View File

@@ -21,10 +21,19 @@
relativenumber = false; # Relative line numbers
number = true; # Display the absolute line number of the current line
hidden = true; # Keep closed buffer open in the background
showmode = false;
mouse = "a"; # Enable mouse control
mousemodel = "popup"; # Mouse right-click extends the current selection
splitbelow = true; # A new window is put below the current one
splitright = true; # A new window is put right of the current one
list = true;
listchars = {
tab = " ";
trail = "·";
nbsp = "";
extends = "";
precedes = "";
};
swapfile = false; # Disable the swap file
modeline = true; # Tags such as 'vim:ft=sh'
@@ -36,14 +45,14 @@
# patterns
smartcase = true; # Override the 'ignorecase' option if the search pattern contains upper
# case characters
scrolloff = 8; # Number of screen lines to show around the cursor
scrolloff = 4; # Number of screen lines to show around the cursor
cursorline = true; # Highlight the screen line of the cursor
cursorcolumn = false; # Highlight the screen column of the cursor
signcolumn = "yes"; # Whether to show the signcolumn
colorcolumn = ""; # Columns to highlight
laststatus = 3; # When to use a status line for the last window
fileencoding = "utf-8"; # File-content encoding for the current buffer
termguicolors = true; # Enables 24-bit RGB color in the |TUI|
# termguicolors = true; # Enables 24-bit RGB color in the |TUI|
spell = false; # Highlight spelling mistakes (local to window)
wrap = false; # Prevent text from wrapping

View File

@@ -3,8 +3,8 @@
./barbar.nix
./comment.nix
./efm.nix
./floaterm.nix
./harpoon.nix
# ./floaterm.nix
# ./harpoon.nix
./lsp.nix
./lualine.nix
./markdown-preview.nix
@@ -13,10 +13,10 @@
./tagbar.nix
./telescope.nix
./treesitter.nix
./vimtex.nix
# ./vimtex.nix
./nonels.nix
./conform.nix
./yanky.nix
# ./yanky.nix
];
programs.nixvim = {
@@ -44,7 +44,7 @@
trim = {
enable = true;
settings = {
highlight = true;
highlight = false;
ft_blocklist = [
"checkhealth"
"floaterm"