this repo has no description

Update Erlang LS

Changed files
+55 -18
fish
.config
fish
functions
git
.config
git
nix
.config
vim
.config
nvim
+1
.gitignore
···
/tags
*.spl
···
/tags
*.spl
+
/result
+5 -1
fish/.config/fish/functions/p.fish
···
function p
-
bat $argv
end
···
function p
+
if test (count $argv) -gt 0 && test -f $argv[1] || not isatty
+
bat $argv
+
else
+
ls -lh $argv
+
end
end
+2 -2
git/.config/git/config
···
ci = commit
co = checkout
cob = checkout -b
-
lg = log --color --graph --oneline --abbrev-commit
pr = pull-request
rci = commit --amend --reuse-message HEAD
squash = rebase -i @{u}
···
skip = update-index --skip-worktree
unskip = update-index --no-skip-worktree
publish = push -u hauleth
-
cleanup = "!git branch --format='%(refname:lstrip=2)' --no-contains HEAD --no-contains master --merged master | xargs -xn1 git branch -d"
[mergetool]
keepBackup = false
···
ci = commit
co = checkout
cob = checkout -b
+
lg = log --color --graph --abbrev-commit --pretty=format:'%C(yellow)%h%C(auto)%d %s <%C(green)%aN%C(reset)> (%C(blue)%ar%C(reset))'
pr = pull-request
rci = commit --amend --reuse-message HEAD
squash = rebase -i @{u}
···
skip = update-index --skip-worktree
unskip = update-index --no-skip-worktree
publish = push -u hauleth
+
cleanup = "!git branch --format=\"%(if:notequals=*)%(HEAD)%(then)%(if:notequals=${1:-master})%(refname:lstrip=2)%(then)%(refname:lstrip=2)%(end)%(end)\" --merged master | xargs -rpxL1 git branch -d"
[mergetool]
keepBackup = false
+1
nix/.config/nixpkgs/config.nix
···
···
+
{ allowUnsupportedSystem = true; }
+2 -3
nix/.config/nixpkgs/darwin/configuration.nix
···
direnv
dnsmasq
entr
fzy
gitAndTools.diff-so-fancy
gitAndTools.git-imerge
gitAndTools.git-test
gitAndTools.hub
gitAndTools.tig
gitFuller
-
git-lfs
gnupg
httpie
imagemagick
jq
neovim
neovim-remote
-
nix-index
noti
ripgrep
universal-ctags
-
weechat
w3m
];
···
direnv
dnsmasq
entr
+
findutils
fzy
+
git-lfs
gitAndTools.diff-so-fancy
gitAndTools.git-imerge
gitAndTools.git-test
gitAndTools.hub
gitAndTools.tig
gitFuller
gnupg
httpie
imagemagick
jq
neovim
neovim-remote
noti
ripgrep
universal-ctags
w3m
];
+27
nix/.config/nixpkgs/overlays/encpipe.nix
···
···
+
self: super:
+
+
with super;
+
+
let
+
libhydrogen = fetchGit {
+
url = "https://github.com/jedisct1/libhydrogen.git";
+
ref = "master";
+
};
+
in
+
{
+
encpipe = self.stdenv.mkDerivation rec {
+
name = "encpipe-${version}";
+
version = "0.5";
+
+
nativeBuildInputs = [ git ];
+
+
preBuild = ''
+
cp -R ${libhydrogen}/* ext/libhydrogen/
+
'';
+
+
src = fetchGit {
+
url = "https://github.com/jedisct1/encpipe.git";
+
ref = "master";
+
};
+
};
+
}
+2 -2
nix/.config/nixpkgs/overlays/erlang/erlang-ls.json
···
{
"owner": "erlang-ls",
"repo": "erlang_ls",
-
"rev": "6a675ee5b43d53cf3ec393f225c61c7226c9da7b",
-
"sha256": "0n43b6g2k8d5cbgvgc00mlz5v8cmyjidlxsjx540xhn6ybyyz710"
}
···
{
"owner": "erlang-ls",
"repo": "erlang_ls",
+
"rev": "634cc2ad63f8b1c5675737ea9b62764fe912630c",
+
"sha256": "0sqw5xn07np2cwsaw2hcsysrz123fdi014d46s49l6xfd96jrkyx"
}
+2 -2
nix/.config/nixpkgs/overlays/tokei.nix
···
{
tokei = tokei.overrideDerivation (cfg: {
-
buildInputs = stdenv.lib.optionals stdenv.isDarwin [
self.libiconv
self.darwin.apple_sdk.frameworks.Security
-
];
});
}
···
{
tokei = tokei.overrideDerivation (cfg: {
+
buildInputs = cfg.buildInputs ++ (stdenv.lib.optionals stdenv.isDarwin [
self.libiconv
self.darwin.apple_sdk.frameworks.Security
+
]);
});
}
-1
result
···
-
/nix/store/b802k22mffrw1p4dvkv3nq2w8c0sqyff-darwin-system-20.03pre199995.895874d2145+darwin3.0000000
···
+7
vim/.config/nvim/after/syntax/elixir.vim
···
···
+
" setlocal conceallevel=1
+
+
" syn match elixirPipe /|>/ contained containedin=elixirOperator conceal cchar=▷
+
" syn match elixirJoin /<>/ contained containedin=elixirOperator conceal cchar=◇
+
+
" hi link elixirPipe elixirOperator
+
" hi link elixirJoin elixirOperator
+2 -1
vim/.config/nvim/autoload/plugins.vim
···
call minpac#add('liuchengxu/vim-clap')
" }}}
" Git {{{
-
call minpac#add('tpope/vim-fugitive', { 'type': 'opt' })
" }}}
" Launch screen {{{
call minpac#add('mhinz/vim-startify') " Required during startup
···
call minpac#add('hauleth/vim-backscratch')
call minpac#add('tpope/vim-dadbod')
call minpac#add('https://gitlab.com/hauleth/smart.vim.git')
" }}}
endfunc
···
call minpac#add('liuchengxu/vim-clap')
" }}}
" Git {{{
+
call minpac#add('tpope/vim-fugitive')
" }}}
" Launch screen {{{
call minpac#add('mhinz/vim-startify') " Required during startup
···
call minpac#add('hauleth/vim-backscratch')
call minpac#add('tpope/vim-dadbod')
call minpac#add('https://gitlab.com/hauleth/smart.vim.git')
+
call minpac#add('reedes/vim-pencil')
" }}}
endfunc
+2 -1
vim/.config/nvim/init.vim
···
command! -bar PackStatus call plugins#reload() | call minpac#status()
" }}}
" Identation {{{
-
set shiftwidth=4 expandtab
set textwidth=80
set nowrap linebreak formatoptions+=l
···
" Fuzzy file search {{{
nnoremap <Space><Space> :<C-u>Clap files<CR>
let g:picker_custom_find_executable = 'rg'
let g:picker_custom_find_flags = '--color never --files --hidden --glob !.git'
let g:clap#provider#files# = {
···
command! -bar PackStatus call plugins#reload() | call minpac#status()
" }}}
" Identation {{{
+
set shiftwidth=2 expandtab
set textwidth=80
set nowrap linebreak formatoptions+=l
···
" Fuzzy file search {{{
nnoremap <Space><Space> :<C-u>Clap files<CR>
+
let g:picker_default_external_filter = 'fzy'
let g:picker_custom_find_executable = 'rg'
let g:picker_custom_find_flags = '--color never --files --hidden --glob !.git'
let g:clap#provider#files# = {
-3
vim/.config/nvim/plugin/pack-delayed.vim
···
func! DelayedLoad(...) abort " No abort as we want to continue if any plugin fails
" Git
-
packadd vim-fugitive
-
\ | call fugitive#detect(getcwd())
-
packadd vim-unimpaired
packadd targets.vim
···
func! DelayedLoad(...) abort " No abort as we want to continue if any plugin fails
" Git
packadd vim-unimpaired
packadd targets.vim
+2 -2
vim/.config/nvim/plugin/statusline.vim
···
scriptencoding utf-8
let &statusline = ' '
-
let &statusline .= '» %{statusline#filename()}%{statusline#modified()} «%<'
let &statusline .= ' '
let &statusline .= '%#StatusLineNC#%{statusline#path()}%*'
let &statusline .= '%='
-
let &statusline .= '%{statusline#quickfix()} %4c:%l'
···
scriptencoding utf-8
let &statusline = ' '
+
let &statusline .= '» %{statusline#filename()}%{statusline#modified()} « %<'
let &statusline .= ' '
let &statusline .= '%#StatusLineNC#%{statusline#path()}%*'
let &statusline .= '%='
+
let &statusline .= '%{FugitiveHead()} %{statusline#quickfix()} %4c:%l'