feat: no more fucking tabs
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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})
|
||||
|
||||
@@ -34,6 +34,7 @@ in
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
|
||||
nixpkgs.overlays = [
|
||||
customPackageOverlay.overlay
|
||||
];
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
};
|
||||
in
|
||||
{
|
||||
customVimPlugins = [
|
||||
cmpVimtexPlugin
|
||||
];
|
||||
customVimPlugins = {
|
||||
cmp-vimtex = cmpVimtexPlugin;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user