override more defaults
This commit is contained in:
parent
b6f59a300d
commit
27be81d914
1 changed files with 18 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./vim/default.nix
|
./vim/default.nix
|
||||||
];
|
];
|
||||||
|
@ -20,8 +21,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
autocmds = [
|
autocmds = [
|
||||||
|
#Autocommand to fall back to treesitter folding if LSP doesnt support it
|
||||||
{
|
{
|
||||||
event = ["LspAttach"];
|
event = [ "LspAttach" ];
|
||||||
callback = pkgs.lib.generators.mkLuaInline ''
|
callback = pkgs.lib.generators.mkLuaInline ''
|
||||||
function(args)
|
function(args)
|
||||||
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
||||||
|
@ -33,6 +35,20 @@
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
tabline = {
|
||||||
|
nvimBufferline.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
binds = {
|
||||||
|
hardtime-nvim = {
|
||||||
|
enable = true;
|
||||||
|
setupOpts = {
|
||||||
|
restriction_mode = "block";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
theme = {
|
theme = {
|
||||||
name = "catppuccin";
|
name = "catppuccin";
|
||||||
style = "mocha";
|
style = "mocha";
|
||||||
|
|
Loading…
Reference in a new issue