filled in some neovim config

This commit is contained in:
John Lancaster
2026-03-30 00:04:50 -05:00
parent d42de74755
commit c0c1e92249
+52 -4
View File
@@ -12,15 +12,63 @@
modules = [
{
config.vim = {
options = {
number = true;
relativenumber = true;
expandtab = true;
shiftwidth = 4;
tabstop = 4;
softtabstop = 4;
};
syntaxHighlighting = true;
# Enable custom theming options
theme.enable = true;
theme.name = "catppuccin";
theme.style = "mocha";
lazy = {
enable = true;
};
telescope = {
enable = true;
extensions = [
{
name = "fzf";
packages = [pkgs.vimPlugins.telescope-fzf-native-nvim];
setup = {fzf = {fuzzy = true;};};
}
];
};
# Enable Treesitter
treesitter.enable = true;
treesitter = {
enable = true;
# grammars = [ "python" ];
};
# Other options will go here. Refer to the config
# reference in Appendix B of the nvf manual.
# ...
lsp.enable = true;
languages = {
enableTreesitter = true;
enableFormat = true;
python = {
enable = true;
dap.enable = true;
format.type = [ "ruff" ];
};
};
keymaps = [
{
key = "<leader>m";
mode = "n";
silent = true;
action = ":make<CR>";
}
];
};
}
];