1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Compare commits

...

4 commits

Author SHA1 Message Date
0a98551034 Add askama 2022-11-02 16:18:21 +01:00
f7445e73a8 After juliaup 2022-11-02 16:17:34 +01:00
4b7d6ef8b1 Add autotag to htmldjango 2022-11-02 16:17:23 +01:00
29a9a669c8 Use juliaup 2022-11-02 16:15:58 +01:00
4 changed files with 18 additions and 4 deletions

View file

@ -7,5 +7,15 @@ fi
# User specific environment and startup programs
export PATH="$HOME/.npm-global/bin:$PATH:$HOME/bin/nvim/bin:$HOME/bin/julia/bin"
export PATH="$HOME/.npm-global/bin:$PATH:$HOME/bin/nvim/bin"
. "$HOME/.cargo/env"
# >>> juliaup initialize >>>
# !! Contents within this block are managed by juliaup !!
case ":$PATH:" in *:/var/home/mo/.julia/juliaup/bin:*);; *)
export PATH=/var/home/mo/.julia/juliaup/bin${PATH:+:${PATH}} ;;
esac
# <<< juliaup initialize <<<

View file

@ -27,7 +27,7 @@ if status is-interactive
## Default options
set -g rsync "rsync -avhL --partial --zc=zstd --zl=8 --no-i-r --info=progress2"
abbr -ag rsync $rsync
abbr -ag onefetch "onefetch --no-palette"
abbr -ag onefetch "onefetch --no-color-palette"
## Podman
set -l sagemath_image docker.io/sagemath/sagemath:latest
@ -73,7 +73,7 @@ if status is-interactive
end
function julia
JULIA_NUM_THREADS=16 LD_PRELOAD=/usr/lib64/libstdc++.so.6 ~/bin/julia/bin/julia $argv
JULIA_NUM_THREADS=16 LD_PRELOAD=/usr/lib64/libstdc++.so.6 ~/.julia/juliaup/bin/julia $argv
end
## Taskwarrior

View file

@ -55,7 +55,7 @@ o.shortmess = o.shortmess .. "S"
vim.filetype.add({
pattern = {
[".+.jinja.html"] = "htmldjango",
[".+.tera"] = "htmldjango",
[".+.tera.html"] = "htmldjango",
[".+.askama.html"] = "htmldjango",
},
})

View file

@ -31,5 +31,9 @@ require("nvim-treesitter.configs").setup({
},
autotag = {
enable = true,
filetypes = { "html", "htmldjango" },
},
})
-- Temporary workaround for autotag in htmldjango until a parser exists
require("nvim-treesitter.parsers").filetype_to_parsername.htmldjango = "html"