Initial markdown support

Markdown doesnt have a language server, so do this manually
Closes #43
This commit is contained in:
simrat39
2021-08-01 12:21:49 -07:00
parent 0371627d01
commit 1941d9edf9
4 changed files with 65 additions and 11 deletions

View File

@@ -7,4 +7,8 @@ function M.is_buf_attached_to_lsp(bufnr)
return clients ~= nil and #clients > 0
end
function M.is_buf_markdown(bufnr)
return vim.api.nvim_buf_get_option(bufnr, 'ft') == 'markdown'
end
return M