nvim lsp fixes and a new wifi password

This commit is contained in:
Rouven Seifert 2023-03-13 13:50:07 +01:00
parent 5f5ca3fc12
commit 6dc9cb9dbf
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 41 additions and 33 deletions

View file

@ -81,7 +81,9 @@ windowrulev2 = opacity 1.0 0.5, class:^Alacritty$
windowrulev2 = opacity 1.0 0.5, class:^google-chrome$
windowrulev2 = opacity 1.0 1.0, class:^mpv$
windowrulev2 = opacity 1.0 1.0, class:^Gimp-2.10$
windowrulev2 = opacity 1.0 1.0, class:^com.obsproject.Studio$
windowrulev2 = opacity 1.0 1.0, fullscreen:1
windowrulev2 = opacity 1.0 1.0, floating:1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

View file

@ -1,13 +1,10 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
ripgrep
black
];
programs.nixvim = {
enable = true;
vimAlias = true;
colorscheme = "dracula"; options =
colorscheme = "dracula";
options =
{
shiftwidth = 4;
expandtab = false;
@ -94,12 +91,10 @@
'';
servers = {
# pylsp is broken
pyright = {
enable = true;
};
#pylsp = {
#enable = true;
#};
texlab = {
enable = true;
};
@ -108,6 +103,17 @@
};
};
};
null-ls = {
enable = true;
sources.formatting.black = {
enable = true;
withArgs = ''
({
extra_args = { "-l", "120" }
})
'';
};
};
nvim-cmp = {
enable = true;
mappingPresets = [ "insert" ];
@ -152,7 +158,7 @@
};
extraPlugins = with pkgs.vimPlugins;
[
vim-nix
vim-nix
dracula-vim
nerdcommenter
];