configure vimwiki
This commit is contained in:
parent
b71c684931
commit
ccfd03029b
|
@ -17,6 +17,10 @@ vim.opt.foldmethod = "expr"
|
||||||
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||||
lvim.format_on_save = false
|
lvim.format_on_save = false
|
||||||
|
|
||||||
|
vim.g.vimwiki_ext2syntax = { ['.Rmd'] = 'markdown', ['.rmd'] = 'markdown', ['.md'] = 'markdown',
|
||||||
|
['.markdown'] = 'markdown', ['.mdown'] = 'markdown' }
|
||||||
|
vim.g.vimwiki_list = { { ['path'] = '~/Documents/vimwiki', ['syntax'] = 'markdown', ['ext'] = '.md' } }
|
||||||
|
|
||||||
local formatters = require "lvim.lsp.null-ls.formatters"
|
local formatters = require "lvim.lsp.null-ls.formatters"
|
||||||
formatters.setup {
|
formatters.setup {
|
||||||
{ command = "black", filetypes = { "python" } },
|
{ command = "black", filetypes = { "python" } },
|
||||||
|
@ -82,9 +86,9 @@ lvim.plugins = {
|
||||||
},
|
},
|
||||||
{ "folke/todo-comments.nvim",
|
{ "folke/todo-comments.nvim",
|
||||||
event = "BufRead",
|
event = "BufRead",
|
||||||
config = function()
|
-- config = function()
|
||||||
require("todo-comments").setup()
|
-- require("todo-comments").setup()
|
||||||
end,
|
-- end,
|
||||||
},
|
},
|
||||||
{ "felipec/vim-sanegx",
|
{ "felipec/vim-sanegx",
|
||||||
event = "BufRead",
|
event = "BufRead",
|
||||||
|
|
Loading…
Reference in New Issue