feat(nvim): Markdown handling improvements

- marksman: Trimmed config file: removed comments, remove default
  settings
- fix: ftplugin for codelens: provide current buffer
- new: Add obsidian.nvim plugin to replace markdown-oxide lsp
This commit is contained in:
Pratik Tripathy
2025-11-22 23:38:42 +05:30
parent 8498a68797
commit b9efd12e47
4 changed files with 30 additions and 41 deletions

View File

@@ -11,7 +11,7 @@ local function check_codelens_support()
end
vim.api.nvim_create_autocmd({ "TextChanged", "InsertLeave", "CursorHold", "LspAttach", "BufEnter" }, {
buffer = bufnr,
buffer = vim.api.nvim_get_current_buf(),
callback = function()
if check_codelens_support() then
vim.lsp.codelens.refresh({ bufnr = 0 })