This commit is contained in:
2026-05-29 19:01:21 +02:00
parent 7101cd0860
commit bc1dae3cee
8 changed files with 255 additions and 379 deletions
+7 -3
View File
@@ -3,6 +3,7 @@
home.packages = with pkgs; [
lua-language-server
alejandra
nil
ripgrep
lldb
@@ -18,8 +19,11 @@ programs.neovim = {
vimAlias = true;
withRuby = false;
withPython3 = false;
initLua = builtins.readFile ./init.lua;
};
catppuccin.nvim.enable = false;
# catppuccin.nvim.enable = true;
programs.neovim.plugins = [
pkgs.vimPlugins.lazy-nvim
@@ -28,7 +32,7 @@ programs.neovim.plugins = [
home.file =
lib.mkMerge [
{
".config/nvim/init.lua".source = ./init.lua;
# ".config/nvim/init.lua".source = ./init.lua;
".config/nvim/lua/config/lazy.lua".source = ./lua/config/lazy.lua;
".config/nvim/lua/plugins/flutter.lua".source = ./lua/plugins/flutter.lua;
# ".config/nvim/lua/plugins/coq.lua".source = ./lua/plugins/coq.lua;
@@ -50,7 +54,7 @@ programs.neovim.plugins = [
# ".config/nvim/lua/plugins/rustaceanvim.lua".source = ./lua/plugins/rustaceanvim.lua;
".config/nvim/lua/plugins/lazygit.lua".source = ./lua/plugins/lazygit.lua;
".config/nvim/lua/plugins/toggleterm.lua".source = ./lua/plugins/toggleterm.lua;
".config/nvim/lua/plugins/love.lua".source = ./lua/plugins/love.lua;
# ".config/nvim/lua/plugins/love.lua".source = ./lua/plugins/love.lua;
".config/nvim/lua/plugins/code-action.lua".source = ./lua/plugins/code-action.lua;
".config/nvim/lua/plugins/tabby.lua".source = ./lua/plugins/tabby.lua;
".config/nvim/lua/plugins/tabout.lua".source = ./lua/plugins/tabout.lua;
+1
View File
@@ -5,6 +5,7 @@ vim.opt.shiftwidth = 2 -- insert 4 spaces on a tab
vim.opt.expandtab = true -- tabs are spaces, mainly because of python
-- UI config
-- vim.lsp.document_color.enable = true
vim.opt.number = true -- show absolute number
vim.opt.relativenumber = true -- add numbers to each line on the left side
vim.opt.splitbelow = true -- open new vertical split bottom
+1 -9
View File
@@ -65,7 +65,7 @@ return {
focus_on_open = true, -- focus on the newly opened log window
},
dev_tools = {
autostart = true, -- autostart devtools server if not detected
autostart = false, -- autostart devtools server if not detected
auto_open_browser = false, -- Automatically opens devtools in the browser
},
outline = {
@@ -73,14 +73,6 @@ return {
auto_open = false -- if true this will open the outline automatically when it is first populated
},
lsp = {
color = { -- show the derived colours for dart variables
enabled = true, -- whether or not to highlight color variables at all, only supported on flutter >= 2.10
background = true, -- highlight the background
background_color = nil, -- required, when background is transparent (i.e. background_color = { r = 19, g = 17, b = 24},)
foreground = false, -- highlight the foreground
virtual_text = true, -- show the highlight using virtual text
virtual_text_str = "", -- the virtual text character to highlight
},
-- see the link below for details on each option:
-- https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/tool/lsp_spec/README.md#client-workspace-configuration
settings = {
+1 -1
View File
@@ -26,6 +26,6 @@ programs.git = {
services.kdeconnect = {
enable = false;
indicator = true;
indicator = false;
};
}