Compare commits

...

3 Commits

Author SHA1 Message Date
iGor milhit 5032bbd5c8
markdown: restore marksman
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-09-27 15:58:05 +02:00
iGor milhit c2f0aa8ee2
plugins: remove the zen mode plugin
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-09-27 15:23:28 +02:00
iGor milhit 5e9994536b
plugins: set lazy to true for some md plugins
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-09-27 15:19:38 +02:00
5 changed files with 8 additions and 53 deletions

View File

@ -1,8 +0,0 @@
-- 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,6 +3,7 @@
return {
'cameron-wags/rainbow_csv.nvim',
config = true,
lazy = true,
ft = {
'csv',
'tsv',

View File

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

View File

@ -1,39 +0,0 @@
-- 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 },
},
},
}