nvimdev/indentmini.nvim:非常快速的 indent line 显示插件,该插件只基于 neovim 设置中的 tabstop 与 shiftwidth 来推断 indent,不会使用 treesitter,同时部分关键接口使用了 LuaJIT 的 C FFI 实现,所以非常快速。当然不使用 treesitter 意味着没法做到精确且花里胡哨的显示,比如 lukas-reineke/indent-blankline....
LSP 功能增强 代码格式化 前端开发必要配置 Rust 开发配置 配置C/C++开发环境 代码运行器 其他配置 备忘记录 结语环境:Ubuntu 20.04宿主机:windows (windows terminal)WSL 2NVIM:v 0.10.0-dev配置Neovim 需要保证流畅的 github 环境(以便于快速拉取插件),可以使用代理或是配置 Github SSH key本...
end, }, window = { -- completion = cmp.config.window.bordered(), -- documentation = cmp.config.window.bordered(), }, mapping = cmp.mapping.preset.insert({ ['<C-b>'] = cmp.mapping.scroll_docs(-4), ['<C-f>'] = cmp.mapping.scroll_docs(4), ['<C-Space>'] = cmp.mapping....
col ||getline('.')[col-1] =~#'\s'endfunction" Use <c-space> to trigger completion.ifhas('nvim')inoremap<silent><expr><c-space>coc#refresh()elseinoremap<silent><expr><c-@> coc#refresh()endif" Make <CR> auto-select the first completion item and notify coc.nvim to" format on ...
scroll_down = "<C-f>", scroll_up = "<C-b>", }, code_action_keys = { -- quit = "q", quit = "<ESC>", exec = "<CR>", }, rename_action_keys = { -- quit = "<C-c>", quit = "<ESC>", exec = "<CR>", }, definition_preview_icon = " ", border_style = ...
A async completion framework aims to provide completion to neovim's built in LSP written in Lua - nvim-lua/completion-nvim
One of the most useful features of `vim-javacomplete2` is code completion. It provides intelligent suggestions as you type, based on the context of the code. ```java public class HelloWorld { public static void main(String[] args) { ...
local function t(str) return vim.api.nvim_replace_termcodes(str, true, true, true) end function _G.smart_tab() return vim.fn.pumvisible() == 1 and t'<C-N>' or t'<Tab>' end vim.api.nvim_set_keymap('i', '<Tab>', 'v:lua.smart_tab()', {expr = true, noremap = true}...
set shortmess+=c " always show signcolumns set signcolumn=yes " Use tab for trigger completion with characters ahead and navigate. " Use command ':verbose imap <tab>' to make sure tab is not mapped by other plugin. inoremap <silent><expr> <TAB> ...
completion bash-dev bc binutils binutils-dev binutils-gold bison blogc bmon boost boost-dev brogue brotli brotli-devbs1770gain bsdtar busybox bvi byobu bzip2 c-ares c-ares-dev ca-certificates ca-certificates-java cadaver calcurse cava cboard ccache ccrypt cgdb clang cmake cmake-curses-gui c...