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 = [ imports = [
nixvim.homeManagerModules.nixvim nixvim.homeManagerModules.nixvim
@ -16,4 +21,3 @@
colorschemes.oxocarbon.enable = true; colorschemes.oxocarbon.enable = true;
}; };
} }

View File

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

View File

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