mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
nvim lsp fixes and a new wifi password
This commit is contained in:
parent
5f5ca3fc12
commit
6dc9cb9dbf
4 changed files with 41 additions and 33 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue