Compare commits
No commits in common. "9425f55d8f64427b701e61327e818dac4bca294c" and "5afedf69c3f4161385b0dca8446793816ad546d5" have entirely different histories.
9425f55d8f
...
5afedf69c3
2 changed files with 22 additions and 72 deletions
18
flake.lock
generated
18
flake.lock
generated
|
@ -270,11 +270,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746055187,
|
"lastModified": 1744440957,
|
||||||
"narHash": "sha256-3dqArYSMP9hM7Qpy5YWhnSjiqniSaT2uc5h2Po7tmg0=",
|
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3e362ce63e16b9572d8c2297c04f7c19ab6725a5",
|
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -301,11 +301,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746141548,
|
"lastModified": 1744932701,
|
||||||
"narHash": "sha256-IgBWhX7A2oJmZFIrpRuMnw5RAufVnfvOgHWgIdds+hc=",
|
"narHash": "sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f02fddb8acef29a8b32f10a335d44828d7825b78",
|
"rev": "b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -329,11 +329,11 @@
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745963276,
|
"lastModified": 1745068593,
|
||||||
"narHash": "sha256-MpLljx/1dGnBIQlUswaUz/ZeOp44R3ngc1iBf4tyzyc=",
|
"narHash": "sha256-YuQRMvqLVu+ghl2XzqXyVg/YevH/t3XHVCl7w+UrCH8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "5bef8e43ce16ee704c7b9fa9f48a07ce81c5c05d",
|
"rev": "d35dc6dfcae3ff1a0c72f2d59491a7d83e5505a3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -8,82 +8,32 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
colorschemes.catppuccin.enable = true;
|
files = {
|
||||||
highlight.ExtraWhitespace.bg = "red"; # Highlight extra white spaces
|
"ftplugin/nix.lua" = {
|
||||||
performance = {
|
|
||||||
byteCompileLua = {
|
|
||||||
enable = true;
|
|
||||||
nvimRuntime = true;
|
|
||||||
configs = true;
|
|
||||||
plugins = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
opts = {
|
opts = {
|
||||||
updatetime = 100; # Faster completion
|
tabstop = 8;
|
||||||
|
shiftwidth = 4;
|
||||||
# Line numbers
|
softtabstop = 0;
|
||||||
number = true; # Display the absolute line number of the current line
|
expandtab = true;
|
||||||
hidden = true; # Keep closed buffer open in the background
|
smarttab = true;
|
||||||
mouse = "a"; # Enable mouse control
|
background = "dark";
|
||||||
mousemodel = "extend"; # Mouse right-click extends the current selection
|
mouse = "";
|
||||||
splitbelow = true; # A new window is put below the current one
|
};
|
||||||
splitright = true; # A new window is put right of the current one
|
};
|
||||||
|
|
||||||
modeline = true; # Tags such as 'vim:ft=sh'
|
|
||||||
modelines = 100; # Sets the type of modelines
|
|
||||||
undofile = true; # Automatically save and restore undo history
|
|
||||||
incsearch = true; # Incremental search: show match for partly typed search command
|
|
||||||
ignorecase = true; # When the search query is lower-case, match both lower and upper-case patterns
|
|
||||||
smartcase = true; # Override the 'ignorecase' option if the search pattern contains upper case characters
|
|
||||||
cursorline = true; # Highlight the screen line of the cursor
|
|
||||||
cursorcolumn = true; # Highlight the screen column of the cursor
|
|
||||||
signcolumn = "yes"; # Whether to show the signcolumn
|
|
||||||
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|
|
|
||||||
wrap = false; # Prevent text from wrapping
|
|
||||||
|
|
||||||
# Tab options
|
|
||||||
tabstop = 2; # Number of spaces a <Tab> in the text stands for (local to buffer)
|
|
||||||
shiftwidth = 2; # Number of spaces used for each step of (auto)indent (local to buffer)
|
|
||||||
softtabstop = 0; # If non-zero, number of spaces to insert for a <Tab> (local to buffer)
|
|
||||||
expandtab = true; # Expand <Tab> to spaces in Insert mode (local to buffer)
|
|
||||||
autoindent = true; # Do clever autoindenting
|
|
||||||
|
|
||||||
showmatch = true; # when closing a bracket, briefly flash the matching one
|
|
||||||
matchtime = 1; # duration of that flashing n deci-seconds
|
|
||||||
startofline = true; # motions like "G" also move to the first char
|
|
||||||
report = 9001; # disable "x more/fewer lines" messages
|
|
||||||
};
|
};
|
||||||
plugins = {
|
plugins = {
|
||||||
lualine.enable = true;
|
lualine.enable = true;
|
||||||
lsp = {
|
lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inlayHints = true;
|
|
||||||
servers = {
|
servers = {
|
||||||
nixd.enable = true;
|
nixd.enable = true;
|
||||||
ruff.enable = true;
|
ruff.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
lspkind.enable = true;
|
|
||||||
lsp-lines.enable = true;
|
|
||||||
lsp-signature.enable = true;
|
|
||||||
bufferline.enable = true;
|
bufferline.enable = true;
|
||||||
telescope.enable = true;
|
telescope.enable = true;
|
||||||
which-key.enable = true;
|
which-key.enable = true;
|
||||||
treesitter = {
|
treesitter.enable = true;
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
highlight = {
|
|
||||||
enable = true;
|
|
||||||
additional_vim_regex_highlighting = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
indent = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
cmp = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
autoEnableSources = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue