1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-02-14 17:14:47 +01:00

nvim: updated dictionaries

This commit is contained in:
2026-02-02 08:12:22 +01:00
9 changed files with 96 additions and 54 deletions

View File

@@ -0,0 +1,24 @@
defaultIndent: ' '
indentAfterItems:
itemize: 1
itemize*: 1
enumerate: 1
enumerate*: 1
indentRules:
item: 1
noAdditionalIndentGlobal:
item: 1
indentAfterHeadings:
textit:
indentAfterThisHeading: 1
level: 1
footnote:
indentAfterThisHeading: 1
level: 1
noAdditionalIndent:
textit: 1
footnote: 1
removeTrailingWhitespace:
beforeProcessing: 0
afterProcessing: 1
indentPreamble: 1

View File

@@ -5,6 +5,7 @@ Crowd-Interaction
Destruction Destruction
Dictation Dictation
Entlebucher Sennenhund Entlebucher Sennenhund
Formatter
Französischvokabeln Französischvokabeln
Genervtheit Genervtheit
Gestresstheit Gestresstheit

View File

@@ -30,6 +30,7 @@ FIDO-Stick
Forest Forest
Frevert Frevert
Freverts Freverts
GrapheneOS
Greater Greater
Grixis Grixis
Gump Gump
@@ -41,6 +42,7 @@ Higgers
IFAM IFAM
IFAMs IFAMs
IMRaD IMRaD
Ikigai
Int Int
Ira Ira
Jeanine Jeanine
@@ -58,10 +60,12 @@ Matvey
MiiMii MiiMii
Mint Mint
Nate Nate
NeoVIM
Númenor Númenor
Oberweseler Oberweseler
Overwatch Overwatch
Papis Papis
PfingstAka
Pluribus Pluribus
PopOS PopOS
Precon Precon
@@ -77,6 +81,7 @@ Stina
TCAV TCAV
Thinkpad Thinkpad
Tjark Tjark
VIM
Weizman Weizman
Willenborg Willenborg
WinterAka WinterAka

View File

@@ -8,24 +8,13 @@ return {
lua = { "stylua" }, lua = { "stylua" },
markdown = { "mdformat" }, markdown = { "mdformat" },
python = { "isort", "yapf" }, python = { "isort", "yapf" },
sh = { "beautysh" }, sh = { "shfmt" },
shell = { "beautysh" }, bash = { "shfmt" },
zsh = { "shfmt" },
tex = { "latexindent" }, tex = { "latexindent" },
yaml = { "yamlfmt" }, yaml = { "yamlfmt" },
}, },
}) })
require("conform").formatters.latexindent = {
args = require("conform.util").extend_args(
require("conform.formatters.latexindent").args,
{ "-y=defaultIndent: ' '" }
),
}
require("conform").formatters.beautysh = {
args = require("conform.util").extend_args(
require("conform.formatters.beautysh").args,
{ "--indent-size=2", "--force-function-style=fnpar" }
),
}
end, end,
}, },
} }

View File

@@ -1,15 +1,15 @@
return { return {
-- lang server installations -- lang server installations
{ {
'williamboman/mason.nvim', "williamboman/mason.nvim",
dependencies = { dependencies = {
{ {
'nvimtools/none-ls.nvim', "nvimtools/none-ls.nvim",
config = function() config = function()
require("null-ls").setup({ require("null-ls").setup({
sources = { sources = {
-- latex -- assembler
-- require("null-ls").builtins.formatting.latexindent, require("null-ls").builtins.formatting.asmfmt,
-- lua -- lua
require("null-ls").builtins.formatting.stylua, require("null-ls").builtins.formatting.stylua,
-- markdown -- markdown
@@ -18,20 +18,20 @@ return {
require("null-ls").builtins.formatting.isort, require("null-ls").builtins.formatting.isort,
require("null-ls").builtins.formatting.yapf, require("null-ls").builtins.formatting.yapf,
-- shell -- shell
-- require("null-ls").builtins.formatting.beautysh, require("null-ls").builtins.formatting.shfmt,
-- yaml -- yaml
require("null-ls").builtins.formatting.yamlfmt, require("null-ls").builtins.formatting.yamlfmt,
} },
}) })
end end,
}, },
{ {
'jay-babu/mason-null-ls.nvim', "jay-babu/mason-null-ls.nvim",
opts = { opts = {
automatic_installation = true, automatic_installation = true,
ensure_installed = { ensure_installed = {
-- latex -- assembler
"latexindent", "asmfmt",
-- lua -- lua
"stylua", "stylua",
-- markdown -- markdown
@@ -40,13 +40,13 @@ return {
"isort", "isort",
"yapf", "yapf",
-- shell -- shell
"beautysh", "shfmt",
-- yaml -- yaml
"yamlfmt", "yamlfmt",
} },
} },
}, },
}, },
opts = { ui = { icons = Install_signs } } opts = { ui = { icons = Install_signs } },
} },
} }

View File

@@ -24,22 +24,40 @@ return {
require("mason-lspconfig").setup({ require("mason-lspconfig").setup({
automatic_setup = true, automatic_setup = true,
ensure_installed = { ensure_installed = {
"bashls", -- assembler
"asm_lsp",
-- c
"clangd", "clangd",
-- docker
"dockerls", "dockerls",
-- go
"gopls", "gopls",
-- html
"html", "html",
-- json
"jsonls", "jsonls",
-- xml
"lemminx", "lemminx",
-- latex
"ltex", "ltex",
"lua_ls",
"marksman",
"nimls",
"pyright",
"r_language_server",
"sqlls",
"texlab", "texlab",
-- "tsserver", -- lua
"lua_ls",
-- markdown
"marksman",
-- nim
"nimls",
-- python
"pyright",
-- r
"r_language_server",
-- shell
"bashls",
-- sql
"sqlls",
-- typescript / javascript
"ts_ls",
-- yaml
"yamlls", "yamlls",
}, },
}) })

View File

@@ -223,7 +223,7 @@ filextype *.svg
\ inkview %f, \ inkview %f,
" Audio " Audio
filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus,*.aac
\ {Play using mpv} \ {Play using mpv}
\ mpv %c, \ mpv %c,
\ {Play using ffplay} \ {Play using ffplay}
@@ -438,9 +438,9 @@ set classify+=' ::../::, ::*.sh::, ::*.[hc]pp::, ::*.[hc]::,
" archives " archives
set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::' set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::'
" images " images
set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd::' set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd,,*.webp::'
" audio " audio
set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3::' set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3,,*.opus,,*.aac::'
" media " media
set classify+=' ::*.avi,,*.ts,,*.axv,,*.divx,,*.m2v,,*.m4p,,*.m4v,,.mka,,*.mkv,,*.mov,,*.mp4,,*.flv,,*.mp4v,,*.mpeg,,*.mpg,,*.nuv,,*.ogv,,*.pbm,,*.pgm,,*.qt,,*.vob,,*.wmv,,*.xvid::' set classify+=' ::*.avi,,*.ts,,*.axv,,*.divx,,*.m2v,,*.m4p,,*.m4v,,.mka,,*.mkv,,*.mov,,*.mp4,,*.flv,,*.mp4v,,*.mpeg,,*.mpg,,*.nuv,,*.ogv,,*.pbm,,*.pgm,,*.qt,,*.vob,,*.wmv,,*.xvid::'
" office files " office files

2
.indentconfig.yaml Normal file
View File

@@ -0,0 +1,2 @@
paths:
- /home/user/.config/latexindent/latexindent.yaml

View File

@@ -26,27 +26,30 @@ textype() { \
} }
case "$file" in case "$file" in
*\.vpr) $vipercmd "$file" ;;
*\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf > "$base".pdf ;;
*\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf > "$base".pdf ;;
*\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;; *\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;;
*\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;; *\.bash) bash "$file" ;;
*\.m) octave -qW "$file" ;;
*\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;
*config.h) sudo make install ;;
*\.tex) textype "$file" ;;
*\.java) java "$file" ;;
*\.js) node "$file" ;;
*\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;;
*\.nim) nim c -r -d:noColors "$file" ;;
*\.py) python3 "$file" ;;
*\.go) go run "$file" ;; *\.go) go run "$file" ;;
*\.lua) lua "$file" ;; *\.lua) lua "$file" ;;
*\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;
*\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf > "$base".pdf ;;
*\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf > "$base".pdf ;;
*\.py) python3 "$file" ;;
*\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;;
*\.sent) setsid sent "$file" 2>/dev/null & ;; *\.sent) setsid sent "$file" 2>/dev/null & ;;
*config.h) sudo make install ;;
*\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;;
*\.java) java "$file" ;;
*\.js) node "$file" ;;
*\.m) octave -qW "$file" ;;
*\.nim) nim c -r -d:noColors "$file" ;;
*\.r|*\.R) Rscript "$file" ;; *\.r|*\.R) Rscript "$file" ;;
*\.smt2) z3 "$file" ;;
*\.rs) (cd "$dir" && cargo locate-project >/dev/null 2>&1) \ *\.rs) (cd "$dir" && cargo locate-project >/dev/null 2>&1) \
&& (cd "$(dirname "$(cd "$dir" && cargo locate-project --message-format plain)")" && cargo run) \ && (cd "$(dirname "$(cd "$dir" && cargo locate-project --message-format plain)")" && cargo run) \
|| (rustc "$file" && "./$(basename "${file%.rs}")") ;; || (rustc "$file" && "./$(basename "${file%.rs}")") ;;
*\.sh) dash "$file" ;;
*\.smt2) z3 "$file" ;;
*\.tex) textype "$file" ;;
*\.vpr) $vipercmd "$file" ;;
*\.zsh) zsh "$file" ;;
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;; *) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
esac esac