mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-16 15:30:50 +00:00
Compare commits
No commits in common. "fedbee3a30e9b0043b77bb1c705dd83c0860dbc6" and "7012938e21ec105813ba857cf4ae8e0a632ae472" have entirely different histories.
fedbee3a30
...
7012938e21
3 changed files with 3 additions and 18 deletions
|
|
@ -52,4 +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`.
|
||||
- Add a trigger event for luasnip lazy-loading
|
||||
|
|
|
|||
|
|
@ -46,18 +46,6 @@
|
|||
)
|
||||
'';
|
||||
};
|
||||
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 = {
|
||||
|
|
|
|||
|
|
@ -11,13 +11,10 @@ in {
|
|||
vim = {
|
||||
lazy.plugins.luasnip = {
|
||||
package = "luasnip";
|
||||
|
||||
lazy = true;
|
||||
|
||||
event = "BufEnter";
|
||||
after = cfg.loaders;
|
||||
setupModule = "luasnip";
|
||||
inherit (cfg) setupOpts;
|
||||
|
||||
after = cfg.loaders;
|
||||
};
|
||||
startPlugins = cfg.providers;
|
||||
autocomplete.nvim-cmp = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue