Replaced plugins with mini
This commit is contained in:
parent
99cfc8d1e2
commit
3b854f82a8
14 changed files with 50 additions and 83 deletions
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
plugins = {
|
|
||||||
nvim-autopairs = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,19 +1,6 @@
|
||||||
{
|
{
|
||||||
# Import all your configuration modules here
|
# Import all your configuration modules here
|
||||||
imports = [
|
imports = [ ./mini.nix ];
|
||||||
./lsp.nix
|
|
||||||
./lsp-format.nix
|
|
||||||
./lsp-lines.nix
|
|
||||||
./which-key.nix
|
|
||||||
./surround.nix
|
|
||||||
./autopairs.nix
|
|
||||||
./treesitter.nix
|
|
||||||
./treesitter-context.nix
|
|
||||||
./treesitter-textobjects.nix
|
|
||||||
./telescope.nix
|
|
||||||
./web-devicons.nix
|
|
||||||
./undotree.nix
|
|
||||||
];
|
|
||||||
opts = {
|
opts = {
|
||||||
number = true;
|
number = true;
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{ plugins = { lsp-format = { enable = true; }; }; }
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{ plugins = { lsp-lines = { enable = true; }; }; }
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
{
|
|
||||||
plugins = {
|
|
||||||
lsp = {
|
|
||||||
enable = true;
|
|
||||||
servers = {
|
|
||||||
clangd.enable = true;
|
|
||||||
bashls.enable = true;
|
|
||||||
nixd.enable = true;
|
|
||||||
marksman.enable = true;
|
|
||||||
lua_ls.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
49
config/mini.nix
Normal file
49
config/mini.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
{
|
||||||
|
plugins = {
|
||||||
|
mini = {
|
||||||
|
enable = true;
|
||||||
|
modules = {
|
||||||
|
ai = { };
|
||||||
|
align = { };
|
||||||
|
comment = { };
|
||||||
|
completion = { };
|
||||||
|
move = { };
|
||||||
|
operators = { };
|
||||||
|
pairs = { };
|
||||||
|
snippets = { };
|
||||||
|
splitjoin = { };
|
||||||
|
surround = { };
|
||||||
|
basics = { };
|
||||||
|
bracketed = { };
|
||||||
|
bufremove = { };
|
||||||
|
clue = { };
|
||||||
|
deps = { };
|
||||||
|
diff = { };
|
||||||
|
extra = { };
|
||||||
|
files = { };
|
||||||
|
git = { };
|
||||||
|
jump = { };
|
||||||
|
jump2d = { };
|
||||||
|
misc = { };
|
||||||
|
pick = { };
|
||||||
|
sessions = { };
|
||||||
|
visits = { };
|
||||||
|
animate = { };
|
||||||
|
colors = { };
|
||||||
|
cursorword = { };
|
||||||
|
hipatterns = { };
|
||||||
|
icons = { };
|
||||||
|
indentscope = { };
|
||||||
|
map = { };
|
||||||
|
notify = { };
|
||||||
|
starter = { };
|
||||||
|
statusline = { };
|
||||||
|
tabline = { };
|
||||||
|
trailspace = { };
|
||||||
|
doc = { };
|
||||||
|
fuzzy = { };
|
||||||
|
test = { };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{ plugins = { nvim-surround = { enable = true; }; }; }
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
{
|
|
||||||
plugins = {
|
|
||||||
telescope = {
|
|
||||||
enable = true;
|
|
||||||
keymaps = {
|
|
||||||
"<leader>ff" = {
|
|
||||||
action = "find_files";
|
|
||||||
options = { desc = "Telescope find files"; };
|
|
||||||
};
|
|
||||||
"<leader>fg" = {
|
|
||||||
action = "live_grep";
|
|
||||||
options = { desc = "Telescope live grep"; };
|
|
||||||
};
|
|
||||||
"<leader>fb" = {
|
|
||||||
action = "buffers";
|
|
||||||
options = { desc = "Telescope buffers"; };
|
|
||||||
};
|
|
||||||
"<leader>fh" = {
|
|
||||||
action = "help_tags";
|
|
||||||
options = { desc = "Telescope help tags"; };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{ plugins = { treesitter-context = { enable = true; }; }; }
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{ plugins = { treesitter-textobjects = { enable = true; }; }; }
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
plugins = {
|
|
||||||
treesitter = {
|
|
||||||
enable = true;
|
|
||||||
settings = { highlight.enable = true; };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{ plugins = { undotree = { enable = true; }; }; }
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{ plugins = { web-devicons = { enable = true; }; }; }
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
plugins = {
|
|
||||||
which-key = {
|
|
||||||
enable = true;
|
|
||||||
settings = { preset = "helix"; };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue