Compare commits
No commits in common. "1290a8b561b78ccd546f9501aeddc92356ed9e78" and "c5a6a73bf346c7271c56e83b73ad3bbb4fea923e" have entirely different histories.
1290a8b561
...
c5a6a73bf3
4
programs
4
programs
@ -97,8 +97,8 @@ blender
|
||||
audacity
|
||||
syncthing
|
||||
inkscape
|
||||
pyright
|
||||
python-black
|
||||
python-lsp-server
|
||||
python-lsp-black
|
||||
typescript
|
||||
typescript-language-server
|
||||
bash-language-server
|
||||
|
@ -55,7 +55,6 @@ end
|
||||
# listenbrainz
|
||||
function lstb; qbprof lstb; end
|
||||
function work; qbprof work; end
|
||||
function chat; qbprof chat; end
|
||||
|
||||
# git stuff
|
||||
abbr -a -- gs git status
|
||||
|
@ -23,7 +23,7 @@ source $XDG_CONFIG_HOME/nvim/vimspector.vim
|
||||
" bracket closing
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
let g:AutoPairsShortcutToggle = "@@"
|
||||
let g:AutoPairsFlyMode = 0
|
||||
let g:AutoPairsFlyMode = 1
|
||||
|
||||
" improved error list
|
||||
Plug 'folke/trouble.nvim'
|
||||
|
@ -48,7 +48,22 @@ end
|
||||
|
||||
-- settings per server (overrides defaults)
|
||||
local servers = {
|
||||
pyright = {},
|
||||
pylsp = {
|
||||
settings = {
|
||||
pylsp = {
|
||||
plugins = {
|
||||
pydocstyle = {
|
||||
enabled = true,
|
||||
convention = "numpy",
|
||||
addIgnore = {"D100", "D101", "D102", "D103" ,"D105"}
|
||||
},
|
||||
black = {
|
||||
enabled = true,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
clangd = {},
|
||||
tsserver = {},
|
||||
bashls = {},
|
||||
|
@ -1,5 +1,5 @@
|
||||
snippet problem "template for problem notes" bi
|
||||
#import "/templates/problems.typ": template, source_code, status, lref
|
||||
#import "../templates/problems.typ": template, source_code, status
|
||||
#show: template.with(
|
||||
problem_url: "$1",
|
||||
title: "$2",
|
||||
@ -9,7 +9,7 @@ snippet problem "template for problem notes" bi
|
||||
endsnippet
|
||||
|
||||
snippet sfd "template for lecture notes" bi
|
||||
#import "/templates/sfd.typ": template, lref
|
||||
#import "../../../templates/sfd.typ": template
|
||||
#show: template.with(
|
||||
lecture_url: "$1",
|
||||
title: "$2",
|
||||
@ -18,7 +18,7 @@ snippet sfd "template for lecture notes" bi
|
||||
endsnippet
|
||||
|
||||
snippet contest "template for contest problems" bi
|
||||
#import "/templates/contest.typ": template, source_code, status, lref
|
||||
#import "../../templates/contest.typ": template, source_code, status
|
||||
#show: template.with(
|
||||
title: "$1",
|
||||
stat: "${2:incomplete}",
|
||||
@ -27,7 +27,7 @@ snippet contest "template for contest problems" bi
|
||||
endsnippet
|
||||
|
||||
snippet algs "template for compsci notes" bi
|
||||
#import "/templates/algs.typ": template, source_code, lref
|
||||
#import "../templates/algs.typ": template, source_code
|
||||
#show: template.with(
|
||||
title: "$1",
|
||||
)
|
||||
@ -35,7 +35,7 @@ snippet algs "template for compsci notes" bi
|
||||
endsnippet
|
||||
|
||||
snippet math_prob "template for math problems" bi
|
||||
#import "/templates/math_prob.typ": template, lref
|
||||
#import "../../../templates/math_prob.typ": template
|
||||
#show: template.with(
|
||||
title: "$1",
|
||||
)
|
||||
@ -43,7 +43,7 @@ snippet math_prob "template for math problems" bi
|
||||
endsnippet
|
||||
|
||||
snippet proj "template for project documents" bi
|
||||
#import "/templates/proj.typ": template, lref
|
||||
#import "../../templates/proj.typ": template
|
||||
#show: template.with(
|
||||
title: "$1",
|
||||
)
|
||||
@ -58,10 +58,6 @@ snippet link "link" w
|
||||
#link("${1}")[${2}]
|
||||
endsnippet
|
||||
|
||||
snippet lref "refer to another knowledge base doc" w
|
||||
#lref("/${1}")[${2}]
|
||||
endsnippet
|
||||
|
||||
snippet fig "create new figure" bi
|
||||
#figure(
|
||||
image("fig/`!v expand("%:r")`/$1.svg"),
|
||||
|
@ -22,7 +22,6 @@ rm -rf \
|
||||
~/.electron-gyp \
|
||||
~/.yarn \
|
||||
~/.yarnrc \
|
||||
~/.node_repl_history \
|
||||
~/.vimspector.log
|
||||
|
||||
# ipython supports XDG_CONFIG just not by default
|
||||
|
@ -31,7 +31,7 @@ export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo
|
||||
# go
|
||||
export GOPATH="$XDG_DATA_HOME"/go
|
||||
# cargo
|
||||
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||
export CARGI_HOME="$XDG_DATA_HOME/cargo"
|
||||
# npm
|
||||
export npm_config_userconfig=$XDG_CONFIG_HOME/npm/config
|
||||
export npm_config_cache=$XDG_CACHE_HOME/npm
|
||||
@ -69,9 +69,6 @@ else
|
||||
. "$XDG_CONFIG_HOME"/dot_profile
|
||||
fi
|
||||
|
||||
# Typst root
|
||||
export TYPST_ROOT="$HOME/nt"
|
||||
|
||||
# Add .local/bin to path
|
||||
export PATH="$PATH":~/.local/bin
|
||||
export PATH="$PATH":~/.local/bin/deskutils
|
||||
|
Loading…
x
Reference in New Issue
Block a user