Compare commits

...

2 Commits

Author SHA1 Message Date
iGor milhit 6e02172511 snippets: fix the date function for markdown
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-16 15:45:35 +02:00
iGor milhit 049a6e7b14 md preview: fix the node package installation.
- Fixes the markdown preview node package installation.
- Removes the theme configuration.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-16 15:45:35 +02:00
2 changed files with 2 additions and 5 deletions

View File

@ -1,9 +1,6 @@
-- makdown-preview.nvim -- makdown-preview.nvim
-- installed with code found at https://github.com/iamcco/markdown-preview.nvim/issues/558#issuecomment-1514701537 -- installed with code found at https://github.com/iamcco/markdown-preview.nvim/issues/558#issuecomment-1514701537
-- Force the light theme, no matter the system option is.
vim.cmd([[ let g:mkdp_theme = 'light' ]])
return { return {
{ {
"iamcco/markdown-preview.nvim", "iamcco/markdown-preview.nvim",
@ -12,6 +9,6 @@ return {
'markdown' 'markdown'
}, },
lazy = true, lazy = true,
build = "cd app && yarn install", build = "cd app && npm install && git reset --hard",
}, },
} }

View File

@ -55,7 +55,7 @@ return {
dscr = "Insert the current date." dscr = "Insert the current date."
}, },
{ {
f(get_datetime, {}) f(get_date, {})
} }
), ),
s( s(