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]',
latex_symbols = '[TEX]',
-- tmux = '[TMUX]',
-- conjure = '[CJ]',
orgmode = '[ORG]'
})[entry.source.name]
@ -119,9 +120,9 @@ function M.cmp_conf()
-- {name = 'treesitter'},
{name = 'nvim_lsp'},
-- {name = 'cmp_tabnine'},
{name = 'conjure'},
{name = 'latex_symbols'},
-- {name = 'tmux'},
-- {name = 'conjure'},
{name = 'orgmode'}
}
}

View File

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

View File

@ -223,8 +223,18 @@ end
-- vim.api.nvim_command [[
-- call wilder#set_option('renderer', wilder#renderer_mux({
-- \ ':': wilder#popupmenu_renderer({
-- \ 'highlighter': wilder#basic_highlighter(),
-- \ 'left': wilder#popupmenu_devicons(),
-- \ 'highlighter': [
-- \ wilder#pcre2_highlighter(),
-- \ wilder#python_cpsm_highlighter()
-- \ ],
-- \ 'left': [
-- \ ' ',
-- \ wilder#popupmenu_devicons(),
-- \ wilder#popupmenu_buffer_flags({
-- \ 'flags': ' a + ',
-- \ 'icons': {'+': '', 'a': '', 'h': ''}
-- \ })
-- \ ],
-- \ 'right': [' ', wilder#popupmenu_scrollbar()]
-- \ }),
-- \ '/': wilder#wildmenu_renderer({
@ -240,10 +250,11 @@ end
-- \ wilder#branch(
-- \ wilder#python_file_finder_pipeline({
-- \ '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#python_search_pipeline()
-- \ wilder#cmdline_pipeline({'language': 'python', 'fuzzy': 1, 'set_pcre2_patter': v:true}),
-- \ wilder#python_search_pipeline({'pattern': 'fuzzy'})
-- \ )
-- \ ])
-- ]]

View File

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