server: remove some stuff
This commit is contained in:
parent
78c69c2e48
commit
8fb1afa21a
3
init.lua
3
init.lua
|
@ -8,12 +8,9 @@ config.ensure_lazy()
|
||||||
require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), {
|
require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), {
|
||||||
spec = {
|
spec = {
|
||||||
{ import = 'plex.plugins' },
|
{ import = 'plex.plugins' },
|
||||||
{ import = 'plex.plugins.extras.coding' },
|
|
||||||
{ import = 'plex.plugins.extras.ui' },
|
{ import = 'plex.plugins.extras.ui' },
|
||||||
{ import = 'plex.plugins.extras.treesitter' },
|
{ import = 'plex.plugins.extras.treesitter' },
|
||||||
{ import = 'plex.plugins.extras.editor' },
|
{ import = 'plex.plugins.extras.editor' },
|
||||||
{ import = 'plex.plugins.extras.org' },
|
|
||||||
{ import = 'plex.plugins.extras.lang.go' },
|
|
||||||
{ import = 'plex.plugins.extras.lang.json' },
|
{ import = 'plex.plugins.extras.lang.json' },
|
||||||
{ import = 'plex.plugins.extras.lang.python' },
|
{ import = 'plex.plugins.extras.lang.python' },
|
||||||
{ import = 'plex.plugins.extras.lang.yaml' },
|
{ import = 'plex.plugins.extras.lang.yaml' },
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
return {
|
|
||||||
{
|
|
||||||
'vimwiki/vimwiki',
|
|
||||||
enabled = false,
|
|
||||||
cmd = { 'VimwikiIndex', 'VimwikiUISelect' },
|
|
||||||
keys = {
|
|
||||||
{ '<Leader>W', '<cmd>VimwikiIndex<CR>', { noremap = true } },
|
|
||||||
},
|
|
||||||
init = function()
|
|
||||||
vim.g.vimwiki_global_ext = 0
|
|
||||||
vim.g.vimwiki_use_calendar = 1
|
|
||||||
vim.g.vimwiki_hl_headers = 1
|
|
||||||
vim.g.vimwiki_hl_cb_checked = 1
|
|
||||||
vim.g.vimwiki_autowriteall = 0
|
|
||||||
vim.g.vimwiki_listsym_rejected = '✗'
|
|
||||||
vim.g.vimwiki_listsyms = '✗○◐●✓'
|
|
||||||
end,
|
|
||||||
config = function()
|
|
||||||
vim.g.vimwiki_key_mappings = {
|
|
||||||
all_maps = 1,
|
|
||||||
global = 1,
|
|
||||||
headers = 1,
|
|
||||||
text_objs = 1,
|
|
||||||
table_format = 1,
|
|
||||||
table_mappings = 1,
|
|
||||||
lists = 1,
|
|
||||||
links = 1,
|
|
||||||
html = 1,
|
|
||||||
mouse = 0,
|
|
||||||
}
|
|
||||||
vim.g.vimwiki_list = {
|
|
||||||
{
|
|
||||||
diary_header = 'Diary',
|
|
||||||
diary_link_fmt = '%Y-%m/%d',
|
|
||||||
auto_toc = 1,
|
|
||||||
path = '~/docs/wiki/',
|
|
||||||
syntax = 'markdown',
|
|
||||||
ext = '.md',
|
|
||||||
},
|
|
||||||
{ path = '~/docs/books/', syntax = 'markdown', ext = '.md' },
|
|
||||||
{ path = '~/notes/', syntax = 'markdown', ext = '.md' },
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
|
Loading…
Reference in New Issue