Compare commits

...

4 commits

Author SHA1 Message Date
e7a40241e4
Add Steepfile as Ruby 2024-06-11 13:29:36 +02:00
97e35d0dfe
Add .local.vim in this project 2024-06-11 13:29:01 +02:00
4cd93a0a19
Fix .gitignore a bit 2024-06-11 13:29:00 +02:00
7b15337084
Add shell.nix 2024-06-11 13:29:00 +02:00
4 changed files with 18 additions and 4 deletions

10
.gitignore vendored
View file

@ -1,5 +1,7 @@
*.swp
tmp/
.netrwhist
plugged/*
autoload/plug.vim.old
/tmp/
/.netrwhist
/plugged/*
/autoload/plug.vim.old
/.envrc
/localvim

1
.local.vim Normal file
View file

@ -0,0 +1 @@
" local settings when editing this repo

10
shell.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs ? import(fetchTarball("https://github.com/NixOS/nixpkgs/archive/d51f8579f03a76718d643dd184ae964e6f0dd751.tar.gz")) {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
vim
neovim
vim-language-server
vim-vint
];
}

1
vimrc
View file

@ -269,6 +269,7 @@ augroup vimrc
autocmd FileType eruby setl softtabstop=2 shiftwidth=2
autocmd FileType coffee setl softtabstop=4 shiftwidth=4
autocmd BufRead,BufNewFile Guardfile setf ruby
autocmd BufRead,BufNewFile Steepfile setf ruby
autocmd BufRead,BufNewFile Vagrantfile setf ruby
autocmd BufRead,BufNewFile Steepfile setf ruby
autocmd BufRead,BufNewFile *.skim setf slim