Add things for markdown

main
Julius Riegel 6 months ago
parent 6375b48c70
commit d3ef80baab

@ -0,0 +1,3 @@
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto
--enable-features=WebRTCPipeWireCapturer

@ -102,3 +102,9 @@ language-servers = [ "nu-lsp" ]
[[grammar]]
name = "nu"
source = { git = "https://github.com/nushell/tree-sitter-nu", rev = "358c4f509eb97f0148bbd25ad36acc729819b9c1" }
[[language]]
name = "markdown"
# formatter = { command = "comrak", args = ["-t", "commonmark", "--gfm", "--unsafe", "-e", "table"] }
formatter = { command = "prettier", args = ["--stdin-filepath=source.md"] }

@ -64,6 +64,7 @@
"markup.link.text" = "pink"
"markup.quote" = { fg = "yellow", modifiers = ["italic"] }
"markup.raw" = { fg = "foreground" }
"markup.raw.inline" = { fg = "pink" }
"ui.explorer.file" = { fg = "foreground" }
"ui.explorer.dir" = { fg = "cyan" }

@ -7,6 +7,10 @@ export def `follow json-lines` [] {
lines | each {|it| try { $it | from json } catch { {msg: $it} } | table --expand | print} | ignore
}
export def `follow nuon-lines` [] {
lines | each {|it| try { $it | from nuon } catch { {msg: $it} } | table --expand | print} | ignore
}
def --wrapped with-flag [...flag] {
if ($in | is-empty) { [] } else { [...$flag $in] }
}

@ -30,6 +30,7 @@ config.modules = {
'helix',
'zellij',
'broot',
'yazi',
'bottom',
'thefuck',
'hyperfine',
@ -63,6 +64,8 @@ config.modules = {
'bat',
'cz-cli',
'plantuml',
'websocat',
'pandoc',
},
gui = mod {
'kdePackages.breeze-icons',
@ -80,6 +83,7 @@ config.modules = {
extras = mod {
'librewolf',
'spotify',
'libsForQt5.plasma-browser-integration',
},
docker = mod {
'docker',
@ -127,6 +131,14 @@ config.modules = {
graphql = mod {
'nodePackages.get-graphql-schema',
},
yaml = mod {
'yaml-language-server',
},
markdown = mod {
'marksman',
'markdown-oxide',
'nodePackages.prettier',
},
terraform = mod {
'terraform-ls',
},

Loading…
Cancel
Save