Compare commits
2 Commits
6f316190e5
...
4ce0a81056
Author | SHA1 | Date |
---|---|---|
iGor milhit | 4ce0a81056 | |
iGor milhit | 8eafbbedd7 |
14
init.lua
14
init.lua
|
@ -272,6 +272,13 @@ vim.o.termguicolors = true
|
|||
-- Set the spelling for English, French and German.
|
||||
vim.opt.spelllang = 'en,fr,de'
|
||||
|
||||
-- Set the folding level to 1, to allow level 2 headers to be seen.
|
||||
vim.opt.foldlevel = 1
|
||||
|
||||
-- Set a python virtualenv as python3 provider.
|
||||
-- `vim.env.HOME` uses the neovim API to fetch the $HOME env.
|
||||
vim.g.python3_host_prog = 'vim.env.HOME/.pyenv/versions/neovim3/bin/python'
|
||||
|
||||
-- [[ Basic Keymaps ]]
|
||||
|
||||
-- Keymaps for better default experience
|
||||
|
@ -455,6 +462,13 @@ local servers = {
|
|||
-- pyright = {},
|
||||
-- rust_analyzer = {},
|
||||
-- tsserver = {},
|
||||
|
||||
marksman = {
|
||||
ft = {
|
||||
'markdown',
|
||||
'pandoc'
|
||||
}
|
||||
},
|
||||
|
||||
lua_ls = {
|
||||
Lua = {
|
||||
|
|
|
@ -7,7 +7,10 @@ vim.cmd([[ let g:mkdp_theme = 'light' ]])
|
|||
return {
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
ft = "pandoc",
|
||||
ft = {
|
||||
'pandoc',
|
||||
'markdown'
|
||||
},
|
||||
lazy = true,
|
||||
build = "cd app && yarn install",
|
||||
},
|
||||
|
|
|
@ -9,7 +9,10 @@ vim.keymap.set({'n','x','v'}, '<leader>tf', '<cmd>MkdnTableFormat<CR>', {desc =
|
|||
return {
|
||||
{
|
||||
"jakewvincent/mkdnflow.nvim",
|
||||
ft = 'pandoc',
|
||||
ft = {
|
||||
'pandoc',
|
||||
'markdown'
|
||||
},
|
||||
lazy = true,
|
||||
config = function ()
|
||||
require('mkdnflow').setup({
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
-- In order to manage CSV files
|
||||
|
||||
return {
|
||||
'cameron-wags/rainbow_csv.nvim',
|
||||
config = true,
|
||||
ft = {
|
||||
'csv',
|
||||
'tsv',
|
||||
'csv_semicolon',
|
||||
'csv_whitespace',
|
||||
'csv_pipe',
|
||||
'rfc_csv',
|
||||
'rfc_semicolon'
|
||||
},
|
||||
cmd = {
|
||||
'RainbowDelim',
|
||||
'RainbowDelimSimple',
|
||||
'RainbowDelimQuoted',
|
||||
'RainbowMultiDelim'
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
-- Zen mode with twilight.
|
||||
-- Improves the edition experience with distraction free feature.
|
||||
|
||||
return {
|
||||
"folke/zen-mode.nvim",
|
||||
-- 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.
|
||||
number = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
AoU
|
||||
Floriane
|
Binary file not shown.
Loading…
Reference in New Issue