mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-18 11:39:47 +01:00
Merge remote-tracking branch 'upstream/main' into luasnip-setupOpts
This commit is contained in:
commit
607373645f
2 changed files with 13 additions and 0 deletions
|
@ -52,3 +52,4 @@
|
|||
- Remove `vim.notes.obsidian.setupOpts.dir`, which was set by default. Fixes
|
||||
issue with setting the workspace directory.
|
||||
- Add `vim.snippets.luasnip.setupOpts`, which was previously missing.
|
||||
- Add `"prettierd"` as a formatter option in `vim.languages.markdown.format.type`.
|
||||
|
|
|
@ -46,6 +46,18 @@
|
|||
)
|
||||
'';
|
||||
};
|
||||
prettierd = {
|
||||
package = pkgs.prettierd;
|
||||
nullConfig = ''
|
||||
table.insert(
|
||||
ls_sources,
|
||||
null_ls.builtins.formatting.prettierd.with({
|
||||
filetypes = ${expToLua (concatLists [cfg.format.extraFiletypes ["markdown"]])},
|
||||
command = "${cfg.format.package}/bin/prettierd",
|
||||
})
|
||||
)
|
||||
'';
|
||||
};
|
||||
};
|
||||
in {
|
||||
options.vim.languages.markdown = {
|
||||
|
|
Loading…
Reference in a new issue