1
0
Fork 0

Switch to SwayFX

This commit is contained in:
Avery 2024-09-05 21:01:29 +02:00
parent 6571feaff7
commit c310042564
Signed by: Avery
GPG key ID: B684FD451B692E04
41 changed files with 1450 additions and 294 deletions

View file

@ -1,4 +1,4 @@
{ inputs, lib, ... }: {
{ lib, ... }: {
programs.nixvim = {
extraConfigLua = ''
function has_words_before()

View file

@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: {
{ pkgs, ... }: {
imports = [
./completion.nix
./lsp.nix
@ -10,14 +10,14 @@
programs.nixvim = {
enable = true;
colorschemes.catppuccin = {
colorschemes.tokyonight = {
enable = true;
settings = {
flavour = "mocha";
no_italic = true;
integrations = {
cmp = true;
neotree = true;
style = "night";
transparent = true;
styles = {
comments.italic = false;
keywords.italic = false;
};
};
};

View file

@ -1,9 +1,9 @@
{ inputs, ... }: {
{ ... }: {
programs.nixvim.plugins = {
lsp = {
enable = true;
servers = {
nil-ls.enable = true;
pyright.enable = true;
rust-analyzer = {
enable = true;

View file

@ -21,9 +21,7 @@
nixfmt.enable = true;
prettier = {
enable = true;
withArgs = ''
{extra_filetypes = {"svelte"}}
'';
settings = { extra_filetypes = [ "svelte" ]; };
};
};
};

View file

@ -1,7 +1,10 @@
{ ... }: {
programs.nixvim.plugins.treesitter = {
enable = true;
indent = true;
nixvimInjections = true;
programs.nixvim.plugins.treesitter = {
enable = true;
settings = {
indent.enable = true;
highlight.enable = true;
};
nixvimInjections = true;
};
}