fix: Fixes for markdown autocomplete and tying to telekasten

This commit is contained in:
Finch 2025-09-24 16:36:51 -05:00
parent bfd4e62bfb
commit f64b30c964
3 changed files with 14 additions and 5 deletions

View File

@ -133,6 +133,12 @@ return {
on_attach = on_attach,
})
vim.lsp.config("marksman", {
capabilities = capabilities,
on_attach = on_attach,
filetypes = { 'md', 'markdown', 'telekasten' }
})
vim.lsp.config("*", {
capabilities = capabilities,
on_attach = on_attach,

View File

@ -1,14 +1,15 @@
return {
'meanderingprogrammer/render-markdown.nvim',
config = function ()
vim.treesitter.language.register('markdown', 'telekasten')
require('render-markdown').setup({
enabled = false,
-- render_modes = { 'n', 'c', 't' },
enabled = true,
render_modes = { 'n', 'c', 't' },
max_file_size = 10.0,
debounce = 100,
file_types = { 'markdown', 'telekasten' },
file_types = {
'markdown',
'telekasten'
},
link = {
enabled = true,
footnote = {

View File

@ -44,5 +44,7 @@ return {
enable = true,
}
}
vim.treesitter.language.register('markdown', 'telekasten')
end,
}