Compare commits
4 commits
5c7b8ed564
...
30adb52d3c
| Author | SHA1 | Date | |
|---|---|---|---|
| 30adb52d3c | |||
| 36bd07a7e5 | |||
| eb6e72c58d | |||
| ac01db2d6d |
6 changed files with 18 additions and 2 deletions
|
|
@ -1,2 +1,5 @@
|
|||
-- just copy markdown settings
|
||||
vim.cmd.runtime({"after/ftplugin/markdown.lua", bang=true})
|
||||
|
||||
-- until there's a specific djot TS, use markdown
|
||||
vim.treesitter.language.register("markdown", "djot")
|
||||
|
|
|
|||
2
nvim/.config/nvim/after/ftplugin/vimwiki.lua
Normal file
2
nvim/.config/nvim/after/ftplugin/vimwiki.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-- to make render-markdown render it nicely
|
||||
vim.treesitter.language.register("markdown", "vimwiki")
|
||||
|
|
@ -48,6 +48,7 @@
|
|||
"mason.nvim": { "branch": "main", "commit": "7f265cd6ae56cecdd0aa50c8c73fc593b0604801" },
|
||||
"mcphub.nvim": { "branch": "main", "commit": "85a7a659fc82da1429a2241ab61e9ce07b3db374" },
|
||||
"mdeval.nvim": { "branch": "master", "commit": "0e1b248db174a9659a9ab16eb8c90ff3aec55264" },
|
||||
"mdx.nvim": { "branch": "main", "commit": "464a74be368dce212cff02f6305845dc7f209ab3" },
|
||||
"mini.base16": { "branch": "main", "commit": "2eb2d2b889a8c861d1a66ec651bd0edb417d5c7f" },
|
||||
"mini.files": { "branch": "main", "commit": "49c855977e9f4821d1ed8179ed44fe098b93ea2a" },
|
||||
"mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" },
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ local languages = {
|
|||
dap = { "delve" },
|
||||
},
|
||||
graphql = { format = { graphql = { "prettier" } } },
|
||||
html = { format = { html = { "prettier", "rustywind" } } },
|
||||
html = { lsp = { htmx = {} }, format = { html = { "prettier", "rustywind" } } },
|
||||
julia = { lsp = { julials = {} }, ts = { "julia" } },
|
||||
json = {
|
||||
lsp = { jsonls = {} },
|
||||
|
|
@ -103,7 +103,7 @@ local languages = {
|
|||
lsp = { marksman = {} },
|
||||
ts = { "markdown", "markdown_inline" },
|
||||
lint = { markdown = { "markdownlint" } },
|
||||
format = { markdown = { "prettier", "injected" } },
|
||||
format = { markdown = { "prettier", "mdslw", "injected" } },
|
||||
},
|
||||
nim = { lsp = { nim_langserver = {} }, ts = { "nim", "nim_format_string" }, format = { nim = { "nimpretty" } } },
|
||||
nu = nushell(),
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ end
|
|||
|
||||
local md_like = {
|
||||
"markdown",
|
||||
"mdx",
|
||||
"djot",
|
||||
"pandoc",
|
||||
"quarto",
|
||||
|
|
@ -345,6 +346,12 @@ local prose_plugs = {
|
|||
branch = "dev",
|
||||
},
|
||||
{ "let-def/texpresso.vim", ft = { "tex" } },
|
||||
{
|
||||
"davidmh/mdx.nvim",
|
||||
config = true,
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
event = { "BufEnter *.mdx" }, -- since the plug itself defines mdx ft
|
||||
},
|
||||
}
|
||||
|
||||
return prose_plugs
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ gr = :cf Trash<Enter>
|
|||
|
||||
v = :mark -t<Enter>
|
||||
V = :mark -V<Enter>
|
||||
<Space>v = :unmark -a<Enter>
|
||||
J = :mark -t<Enter>:next<Enter>
|
||||
K = :mark -t<Enter>:prev<Enter>
|
||||
T = :prompt "Mark filter: " :mark<Enter>
|
||||
|
|
@ -118,6 +119,8 @@ N = :prev-result<Enter>
|
|||
|
||||
s = :split<Enter>
|
||||
S = :vsplit<Enter>
|
||||
<S-Down> = :send-keys JJJ<Enter>
|
||||
<S-Up> = :send-keys KKK<Enter>
|
||||
|
||||
# send mails to taskwarrior
|
||||
,t = :pipe -s -m mail-totask -c -d -t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue