feat(vim): have a play with marksman the markdown lsp
This commit is contained in:
parent
47688aa2b0
commit
0fa7e58c98
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ local servers = {
|
|||
tsserver = {},
|
||||
html = {},
|
||||
cssls = {},
|
||||
marksman = {},
|
||||
clojure_lsp = {},
|
||||
emmet_ls = {
|
||||
filetypes = { "html", "typescriptreact", "javascriptreact", "css", "scss", "eruby" },
|
||||
|
|
@ -59,7 +60,7 @@ local on_attach = function(_, bufnr)
|
|||
-- Highlight document symbles for every file type other erb files because
|
||||
-- solargraph only supports textDocument/documentHighlight in rb files.
|
||||
local file_type = vim.api.nvim_buf_get_option(0, "filetype")
|
||||
if file_type ~= "eruby" then
|
||||
if file_type ~= "eruby" and file_type ~= "markdown" then
|
||||
vim.lsp.buf.document_highlight()
|
||||
end
|
||||
end,
|
||||
|
|
|
|||
Loading…
Reference in a new issue