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 = {}, -- rust_analyzer = {},
-- tsserver = {}, -- tsserver = {},
marksman = { -- marksman = {
ft = { -- ft = {
'markdown', -- 'markdown',
'pandoc' -- 'pandoc'
} -- }
}, -- },
lua_ls = { lua_ls = {
Lua = { Lua = {

View File

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

View File

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