authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-21 15:35:29-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-21 15:35:29-07:00
log27be81d9141e439bc75c782fb7f414e8d520f92f
treecee17080736ca609d5c7a66fb57112aca606a3bc
parentb6f59a300d5533e9700c5b997b30d5e3d5a594aa
signature Commit is signed but in an unrecognized format.

override more defaults


1 files changed, 18 insertions(+), 2 deletions(-)

users/natalie/vim.nix+18-2
...@@ -1,4 +1,5 @@...@@ -1,4 +1,5 @@
1{pkgs, ...}: {1{ pkgs, ... }:
2{
2 imports = [3 imports = [
3 ./vim/default.nix4 ./vim/default.nix
4 ];5 ];
...@@ -20,8 +21,9 @@...@@ -20,8 +21,9 @@
20 };21 };
2122
22 autocmds = [23 autocmds = [
24 #Autocommand to fall back to treesitter folding if LSP doesnt support it
23 {25 {
24 event = ["LspAttach"];26 event = [ "LspAttach" ];
25 callback = pkgs.lib.generators.mkLuaInline ''27 callback = pkgs.lib.generators.mkLuaInline ''
26 function(args)28 function(args)
27 local client = vim.lsp.get_client_by_id(args.data.client_id)29 local client = vim.lsp.get_client_by_id(args.data.client_id)
...@@ -33,6 +35,20 @@...@@ -33,6 +35,20 @@
33 '';35 '';
34 }36 }
35 ];37 ];
38
39 tabline = {
40 nvimBufferline.enable = true;
41 };
42
43 binds = {
44 hardtime-nvim = {
45 enable = true;
46 setupOpts = {
47 restriction_mode = "block";
48 };
49 };
50 };
51
36 theme = {52 theme = {
37 name = "catppuccin";53 name = "catppuccin";
38 style = "mocha";54 style = "mocha";