nixvimConfigs/trovebelt: migrate config to up-to-date settings

This commit is contained in:
Gabriel Arazas 2024-06-11 16:40:56 +08:00
parent 2dd2175250
commit 499ee111e3
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
4 changed files with 15 additions and 14 deletions

View File

@ -21,7 +21,6 @@ in
lldb = { lldb = {
command = "lldb-dap"; command = "lldb-dap";
name = "lldb";
}; };
dart = { dart = {

View File

@ -31,7 +31,7 @@ in
"efm" # For whatever. "efm" # For whatever.
"elixirls" # For Elixir. "elixirls" # For Elixir.
"elmls" # For Elm. "elmls" # For Elm.
"emmet_ls" # For Emmet support. "emmet-ls" # For Emmet support.
"eslint" # For JavaScript. "eslint" # For JavaScript.
"gdscript" # For Godot. "gdscript" # For Godot.
"gopls" # For Go. "gopls" # For Go.
@ -45,7 +45,7 @@ in
"kotlin-language-server" # For Kotlin. "kotlin-language-server" # For Kotlin.
"lemminx" # For XML. "lemminx" # For XML.
"lua-ls" # For Lua. "lua-ls" # For Lua.
"nil_ls" # For Nix. "nil-ls" # For Nix.
"nushell" # For Nushell. "nushell" # For Nushell.
"perlpls" # For Perl. "perlpls" # For Perl.
"phpactor" # For PHP. "phpactor" # For PHP.

View File

@ -27,10 +27,12 @@ in
# Enable some more context for me. # Enable some more context for me.
plugins.treesitter-context = { plugins.treesitter-context = {
enable = true; enable = true;
lineNumbers = true; settings = {
maxLines = 7; separator = "*";
mode = "cursor"; mode = "cursor";
separator = "*"; line_numbers = true;
max_lines = 7;
};
}; };
# Some niceties for refactoring. # Some niceties for refactoring.

View File

@ -13,24 +13,24 @@ in
colorschemes = lib.mkDefault { gruvbox.enable = true; }; colorschemes = lib.mkDefault { gruvbox.enable = true; };
# Make it so that terminal GUI colors are au natural. # Make it so that terminal GUI colors are au natural.
options.termguicolors = true; opts.termguicolors = true;
# Show locations you're supposed to be copying from the internet (or your # Show locations you're supposed to be copying from the internet (or your
# own code). # own code).
options.number = true; opts.number = true;
# Make it easy to count. # Make it easy to count.
options.relativenumber = true; opts.relativenumber = true;
# Make it easy to identify your cursor. # Make it easy to identify your cursor.
options.cursorline = true; opts.cursorline = true;
# Conceal all of the hidden weapons (or distractions). # Conceal all of the hidden weapons (or distractions).
options.conceallevel = 1; opts.conceallevel = 1;
# Show them hidden suckers. # Show them hidden suckers.
options.list = true; opts.list = true;
options.listchars = { opts.listchars = {
tab = " *"; tab = " *";
trail = "·"; trail = "·";
nbsp = "%"; nbsp = "%";