Compare commits

..

No commits in common. "5032bbd5c88a392816939b94033ef8f4cedc41a1" and "d0d30fea68b9bcbf698bbe22f22e333df1c5578d" have entirely different histories.

5 changed files with 53 additions and 8 deletions

View File

@ -0,0 +1,8 @@
-- Specific settings for markdown files
-- Use treesitter for folding
-- Disable the color column
-- vim.opt.foldmethod="expr"
-- vim.opt.foldexpr="nvim_treesitter#foldexpr()"
-- vim.g.markdown_folding=1
-- vim.opt.foldlevel=1

View File

@ -487,12 +487,12 @@ local servers = {
-- rust_analyzer = {},
-- tsserver = {},
marksman = {
ft = {
'markdown',
'pandoc'
}
},
-- marksman = {
-- ft = {
-- 'markdown',
-- 'pandoc'
-- }
-- },
lua_ls = {
Lua = {

View File

@ -3,7 +3,6 @@
return {
'cameron-wags/rainbow_csv.nvim',
config = true,
lazy = true,
ft = {
'csv',
'tsv',

View File

@ -12,7 +12,6 @@ vim.cmd([[ let g:vim_markdown_frontmatter = 1 ]])
return {
{
"preservim/vim-markdown",
lazy = true,
ft = {
'markdown'
}

View File

@ -0,0 +1,39 @@
-- Zen mode with twilight.
-- Improves the edition experience with distraction free feature.
return {
"folke/zen-mode.nvim",
ft = {
"markdown",
"pandoc"
},
-- Twilight allows to dim text outside of the cursor line.
dependencies = {
"folke/twilight.nvim",
opts = {
-- Set the context to null in order to avoid highlighting to much
-- paragraphs in markdown.
context = 0,
},
},
opts = {
window = {
-- Set the window width (85 columns) and height (80%).
width = 85,
height = .8,
options = {
-- Disable line numbering, signcolumn and colorcolumn.
number = false,
signcolumn = "no",
},
},
plugins = {
options = {
enabled = true,
ruler = false,
showcmd = false,
},
gitsigns = { enabled = false },
},
},
}