neovim treesitter, formatting

This commit is contained in:
Aria Nolan 2024-02-13 20:09:30 -05:00
parent 48628c4934
commit c9c41d1d3f
6 changed files with 35 additions and 34 deletions

View file

@ -29,9 +29,9 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-matlab = { nix-matlab = {
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
url = "gitlab:doronbehar/nix-matlab"; url = "gitlab:doronbehar/nix-matlab";
}; };
}; };
# pass in the urls defined above # pass in the urls defined above

View file

@ -24,7 +24,7 @@
"$HOME/.dotnet" "$HOME/.dotnet"
]; ];
packages = with pkgs; [ packages = with pkgs; [
matlab matlab
mpv mpv
krita krita
notesnook notesnook

View file

@ -7,8 +7,8 @@
setUpBar = false; setUpBar = false;
}; };
clipboard = { clipboard = {
providers.wl-copy.enable = true; providers.wl-copy.enable = true;
register = "unnamedplus"; register = "unnamedplus";
}; };
options = { options = {
number = true; number = true;
@ -16,20 +16,24 @@
tabstop = 2; tabstop = 2;
shiftwidth = 2; shiftwidth = 2;
expandtab = false; expandtab = false;
scrolloff = 5; scrolloff = 5;
autoindent = true; autoindent = true;
copyindent = true; copyindent = true;
signcolumn = "yes"; signcolumn = "yes";
cursorline = true; cursorline = true;
showmode = false; showmode = false;
};
plugins = {
lightline = {
enable = true;
};
gitsigns = {
enable = true;
};
treesitter = {
enable = true;
nixvimInjections = true;
};
}; };
plugins = {
lightline = {
enable = true;
};
gitsigns = {
enable = true;
};
};
}; };
} }

View file

@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = [ pkgs.radioboat ]; home.packages = [pkgs.radioboat];
xdg.configFile."radioboat/urls.csv".text = '' xdg.configFile."radioboat/urls.csv".text = ''
url,"name" url,"name"

View file

@ -1,6 +1,4 @@
{pkgs, ...}: {pkgs, ...}: let
let
rose-pine-vim = pkgs.vimUtils.buildVimPlugin { rose-pine-vim = pkgs.vimUtils.buildVimPlugin {
name = "rose-pine-vim"; name = "rose-pine-vim";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -30,7 +28,6 @@ let
url = "http://ftp.vim.org/vim/runtime/spell/en.latin1.sug"; url = "http://ftp.vim.org/vim/runtime/spell/en.latin1.sug";
sha256 = "00ibcbj2b2krwd5zl9zl671db44k3fl59sz1yymb9ydkpkj9gpp6"; sha256 = "00ibcbj2b2krwd5zl9zl671db44k3fl59sz1yymb9ydkpkj9gpp6";
}; };
in { in {
programs.vim = { programs.vim = {
enable = true; enable = true;
@ -84,10 +81,10 @@ in {
}; };
home.file.".vim/after/plugin/terminus.vim".text = '' home.file.".vim/after/plugin/terminus.vim".text = ''
let &t_SI="\e[6 q" let &t_SI="\e[6 q"
let &t_EI="\e[2 q" let &t_EI="\e[2 q"
let &t_Cs = "\e[4:3m" let &t_Cs = "\e[4:3m"
let &t_Ce = "\e[4:0m" let &t_Ce = "\e[4:0m"
''; '';
home.file.".vim/after/ftplugin/markdown.vim".text = '' home.file.".vim/after/ftplugin/markdown.vim".text = ''

View file

@ -3,11 +3,11 @@
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
enableVteIntegration = true; enableVteIntegration = true;
profileExtra = '' profileExtra = ''
ssh-add ~/.ssh/git_school ssh-add ~/.ssh/git_school
ssh-add ~/.ssh/git_personal ssh-add ~/.ssh/git_personal
ssh-add ~/.ssh/id_ed25519 ssh-add ~/.ssh/id_ed25519
''; '';
bashrcExtra = '' bashrcExtra = ''
PS1='[\u@\h \W]\$ ' PS1='[\u@\h \W]\$ '