Switch to SwayFX
This commit is contained in:
parent
6571feaff7
commit
c310042564
41 changed files with 1450 additions and 294 deletions
|
@ -1,4 +1,4 @@
|
|||
{ inputs, lib, ... }: {
|
||||
{ lib, ... }: {
|
||||
programs.nixvim = {
|
||||
extraConfigLua = ''
|
||||
function has_words_before()
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ inputs, ... }: {
|
||||
{ ... }: {
|
||||
programs.nixvim.plugins = {
|
||||
lsp = {
|
||||
enable = true;
|
||||
|
||||
servers = {
|
||||
nil-ls.enable = true;
|
||||
pyright.enable = true;
|
||||
rust-analyzer = {
|
||||
enable = true;
|
||||
|
|
|
@ -21,9 +21,7 @@
|
|||
nixfmt.enable = true;
|
||||
prettier = {
|
||||
enable = true;
|
||||
withArgs = ''
|
||||
{extra_filetypes = {"svelte"}}
|
||||
'';
|
||||
settings = { extra_filetypes = [ "svelte" ]; };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue