This commit is contained in:
meml0rz
2024-11-13 01:04:02 +01:00
parent 140307560e
commit 0d6dab2bb0
4 changed files with 256 additions and 247 deletions

View File

@ -1,4 +1,9 @@
{ config, pkgs, nixvim, ... }:
{
config,
pkgs,
nixvim,
...
}:
{
imports = [
nixvim.homeManagerModules.nixvim
@ -16,4 +21,3 @@
colorschemes.oxocarbon.enable = true;
};
}

View File

@ -4,7 +4,7 @@
enable = true;
};
lsp = {
enable = true;
enable = false;
inlayHints = true;
servers = {
html = {

View File

@ -1,4 +1,9 @@
{ config, pkgs, nixvim, ... }:
{
config,
pkgs,
nixvim,
...
}:
{
programs.nixvim = {
extraConfigLua = ''
@ -12,8 +17,8 @@
map('v', '<Tab>', '>gv', opts)
map('v', '<S-Tab>', '<gv', opts)
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.opt.shiftwidth = 2
vim.opt.tabstop = 2
vim.opt.cursorline = true
vim.opt.expandtab = true
vim.opt.autoindent = true