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";
};
nix-matlab = {
inputs.nixpkgs.follows = "nixpkgs";
url = "gitlab:doronbehar/nix-matlab";
};
inputs.nixpkgs.follows = "nixpkgs";
url = "gitlab:doronbehar/nix-matlab";
};
};
# pass in the urls defined above

View file

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

View file

@ -7,8 +7,8 @@
setUpBar = false;
};
clipboard = {
providers.wl-copy.enable = true;
register = "unnamedplus";
providers.wl-copy.enable = true;
register = "unnamedplus";
};
options = {
number = true;
@ -16,20 +16,24 @@
tabstop = 2;
shiftwidth = 2;
expandtab = false;
scrolloff = 5;
autoindent = true;
copyindent = true;
signcolumn = "yes";
cursorline = true;
showmode = false;
scrolloff = 5;
autoindent = true;
copyindent = true;
signcolumn = "yes";
cursorline = true;
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, ...}: {
home.packages = [ pkgs.radioboat ];
home.packages = [pkgs.radioboat];
xdg.configFile."radioboat/urls.csv".text = ''
url,"name"

View file

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

View file

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