feat: no more fucking tabs

This commit is contained in:
2024-04-24 04:31:25 +00:00
parent 822bc0394e
commit 6c2a0c0d65
4 changed files with 14 additions and 10 deletions

View File

@@ -28,7 +28,7 @@
};
outputs = { self, nixpkgs, homeManager, NixOS-WSL, nixpkgs-23-11, homeManager-23-11, cmp-vimtex, ...}@inputs:
let
let
customPackageOverlay = import ./overlays/cmp-vimtex.nix { inherit cmp-vimtex; };
in
{

View File

@@ -64,7 +64,10 @@
vimAlias = true;
plugins = with pkgs.vimPlugins; [
vimtex
{
plugin = vimtex;
config = "let g:nix_recommended_style = 0";
}
vim-nix
# plenary and stuff for telescope
plenary-nvim telescope-nvim telescope-file-browser-nvim
@@ -88,13 +91,13 @@
inoremap jj <Esc>
inoremap kk <Esc>
set tabstop=4
set noexpandtab
set list
set listchars=eol:¬,tab:\,trail:·
lua << EOF
vim.opt.tabstop = 4
vim.opt.expandtab = false
vim.opt.list = true
vim.opt.listchars = { eol = "¬", tab = "" , trail = '·', multispace = '·' }
local lsp_zero = require('lsp-zero')
lsp_zero.on_attach(function(client, bufnr)
lsp_zero.default_keymaps({buffer = bufnr})

View File

@@ -34,6 +34,7 @@ in
experimental-features = nix-command flakes
'';
nixpkgs.overlays = [
customPackageOverlay.overlay
];

View File

@@ -8,8 +8,8 @@
};
in
{
customVimPlugins = [
cmpVimtexPlugin
];
customVimPlugins = {
cmp-vimtex = cmpVimtexPlugin;
};
};
}