neovim: disable rarely used wilder.nvim + conjure

This commit is contained in:
FollieHiyuki 2021-09-28 23:45:58 +07:00
parent dfcfbd004a
commit ea74e9076e
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
4 changed files with 30 additions and 16 deletions

View File

@ -55,6 +55,7 @@ function M.cmp_conf()
-- cmp_tabnine = '[TN]', -- cmp_tabnine = '[TN]',
latex_symbols = '[TEX]', latex_symbols = '[TEX]',
-- tmux = '[TMUX]', -- tmux = '[TMUX]',
-- conjure = '[CJ]',
orgmode = '[ORG]' orgmode = '[ORG]'
})[entry.source.name] })[entry.source.name]
@ -119,9 +120,9 @@ function M.cmp_conf()
-- {name = 'treesitter'}, -- {name = 'treesitter'},
{name = 'nvim_lsp'}, {name = 'nvim_lsp'},
-- {name = 'cmp_tabnine'}, -- {name = 'cmp_tabnine'},
{name = 'conjure'},
{name = 'latex_symbols'}, {name = 'latex_symbols'},
-- {name = 'tmux'}, -- {name = 'tmux'},
-- {name = 'conjure'},
{name = 'orgmode'} {name = 'orgmode'}
} }
} }

View File

@ -41,10 +41,10 @@ function M.blankline_conf()
-- vim.api.nvim_command('autocmd CursorMoved * IndentBlanklineRefresh') -- vim.api.nvim_command('autocmd CursorMoved * IndentBlanklineRefresh')
end end
function M.aniseed_conf() -- function M.aniseed_conf()
-- Compile fennel config to lua on startup -- -- Compile fennel config to lua on startup
require('aniseed.env').init() -- require('aniseed.env').init()
end -- end
function M.treesitter_conf() function M.treesitter_conf()
vim.api.nvim_command('set foldmethod=expr') vim.api.nvim_command('set foldmethod=expr')

View File

@ -223,8 +223,18 @@ end
-- vim.api.nvim_command [[ -- vim.api.nvim_command [[
-- call wilder#set_option('renderer', wilder#renderer_mux({ -- call wilder#set_option('renderer', wilder#renderer_mux({
-- \ ':': wilder#popupmenu_renderer({ -- \ ':': wilder#popupmenu_renderer({
-- \ 'highlighter': wilder#basic_highlighter(), -- \ 'highlighter': [
-- \ 'left': wilder#popupmenu_devicons(), -- \ wilder#pcre2_highlighter(),
-- \ wilder#python_cpsm_highlighter()
-- \ ],
-- \ 'left': [
-- \ ' ',
-- \ wilder#popupmenu_devicons(),
-- \ wilder#popupmenu_buffer_flags({
-- \ 'flags': ' a + ',
-- \ 'icons': {'+': '', 'a': '', 'h': ''}
-- \ })
-- \ ],
-- \ 'right': [' ', wilder#popupmenu_scrollbar()] -- \ 'right': [' ', wilder#popupmenu_scrollbar()]
-- \ }), -- \ }),
-- \ '/': wilder#wildmenu_renderer({ -- \ '/': wilder#wildmenu_renderer({
@ -240,10 +250,11 @@ end
-- \ wilder#branch( -- \ wilder#branch(
-- \ wilder#python_file_finder_pipeline({ -- \ wilder#python_file_finder_pipeline({
-- \ 'file_command': ['fd', '--type', 'f', '--follow', '--hidden', '--exclude', '.git'], -- \ 'file_command': ['fd', '--type', 'f', '--follow', '--hidden', '--exclude', '.git'],
-- \ 'dir_command': ['fd', '--type', 'd', '--follow', '--hidden', '--exclude', '.git'] -- \ 'dir_command': ['fd', '--type', 'd', '--follow', '--hidden', '--exclude', '.git'],
-- \ 'filters': ['cpsm_filter', 'fuzzy_filter']
-- \ }), -- \ }),
-- \ wilder#cmdline_pipeline({'language': 'python'}), -- \ wilder#cmdline_pipeline({'language': 'python', 'fuzzy': 1, 'set_pcre2_patter': v:true}),
-- \ wilder#python_search_pipeline() -- \ wilder#python_search_pipeline({'pattern': 'fuzzy'})
-- \ ) -- \ )
-- \ ]) -- \ ])
-- ]] -- ]]

View File

@ -80,11 +80,11 @@ return packer.startup(function(use)
after = 'nvim-treesitter', after = 'nvim-treesitter',
config = editor.blankline_conf config = editor.blankline_conf
} }
use { -- TODO: config (lua -> fennel) + learn clojure, fennel, guile scheme -- use { -- TODO: config (lua -> fennel) + learn clojure, fennel, guile scheme
'Olical/conjure', -- 'Olical/conjure',
ft = {'clojure', 'fennel', 'scheme'}, -- ft = {'clojure', 'fennel', 'scheme'},
requires = {{'Olical/aniseed', config = editor.aniseed_conf}} -- requires = {{'Olical/aniseed', config = editor.aniseed_conf}}
} -- }
use { use {
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate', run = ':TSUpdate',
@ -234,7 +234,7 @@ return packer.startup(function(use)
-- } -- }
use {'kdheepak/cmp-latex-symbols', after = {'nvim-cmp', 'vimtex'}} use {'kdheepak/cmp-latex-symbols', after = {'nvim-cmp', 'vimtex'}}
-- use {'andersevenrud/compe-tmux', after = 'nvim-cmp', branch = 'cmp'} -- use {'andersevenrud/compe-tmux', after = 'nvim-cmp', branch = 'cmp'}
use {'PaterJason/cmp-conjure', after = {'conjure', 'nvim-cmp'}} -- use {'PaterJason/cmp-conjure', after = {'conjure', 'nvim-cmp'}}
use { use {
'windwp/nvim-autopairs', 'windwp/nvim-autopairs',
after = 'nvim-cmp', after = 'nvim-cmp',
@ -363,6 +363,8 @@ return packer.startup(function(use)
} }
-- use { -- use {
-- 'gelguy/wilder.nvim', -- 'gelguy/wilder.nvim',
-- wants = 'cpsm',
-- requires = {{'nixprime/cpsm', opt = true}},
-- run = ':UpdateRemotePlugins', -- run = ':UpdateRemotePlugins',
-- event = 'CmdlineEnter', -- event = 'CmdlineEnter',
-- config = tools.wilder_conf -- config = tools.wilder_conf