nvim_lsp = "[LSP]", ultisnips = "[UltiSnips]", nvim_lua = "[Lua]", cmp_tabnine = "[TabNine]", look = "[Look]", path = "[Path]", spell = "[Spell]", calc = "[Calc]", emoji = "[Emoji]" })[entry.source.name] return vim_item end -- 自动提示2 简洁...
local my = {} my.highlights = function(config) local c = config.colors return { CmpGhostText = { fg = c.grey4, bg = c.darkBlue } } end my.commands = { Hello = ':echo world' } require('one').setup { plugins = { my }, } 全局变量 你可以在运行时操作 one.nvim 的属性。
Plug'nvim-telescope/telescope-fzf-native.nvim'"手动编译" hight lightPlug'nvim-treesitter/nvim-treesitter'Plug'RRethy/vim-illuminate'" auto compeletionPlug'neovim/nvim-lspconfig'Plug'hrsh7th/cmp-nvim-lsp'Plug'hrsh7th/nvim-cmp'Plug'hrsh7th/cmp-buffer'Plug'hrsh7th/cmp-path'Plug'hrsh7th...
DAP 即调试适配协议( Debug Adapter Protocol ),顾名思义,它是用来对多种调试器进行抽象统一的适配层,将原有 IDE 和调试工具直接交互的模式更改为和 DAP 进行交互。该模式可以让 IDE 集成多种调试器变得更简单,且灵活性更好。 dap的思路和lsp是一样的,也是将调试这个步骤与编辑器分开,进行解耦操作,这种思想简...
加入浮动终端,实现 CopilotChat.nvim 的浮动窗口功能 (没错,类似 cursor),目标是在浮动窗口输入指令,直接在 cursor 下方补全结果 (怎么看都像是大号版的 nvim-cmp, 区别在于它的阅读范围可以达到整个 buffer,而不是只有当前行); 实现tdf 与 WezTerm 的终端预览联动,现在还需要依赖 kitty 展示 PDF,但 kitty 的...
require('codeium.virtual_text').setup({ virtual_text = { filetypes = { python = true, markdown = false }, default_filetype_enabled = true } })Show Codeium status in statuslineWhen using virtual text, Codeium status can be generated by calling require('codeium.virtual_text').status_...
python 原创 mob649e81637cea 10月前 71阅读 nvimcmp java # 使用nvimcmp 插件实现 Java 自动补全 ## 简介 在开发过程中,我们经常需要使用自动补全功能来提高开发效率。而nvimcmp 是一个非常强大的插件,可以为多种语言提供自动补全支持。本文将教你如何使用nvimcmp 插件实现 Java 的自动补全功能。 ## 整体流...
安装 配置 nvim-cmp配置 LuaSnip配置 nvim-lsp-installer打造 python IDE 安装 配置 使用方式 Lsp UI美化 安装 配置 lsp-colors.nvim配置 autopairs自动闭合 配置 telescope文件搜索 安装 配置 使用方式 nvim-treesitter语法高亮 安装 配置 使用 rainbow彩虹括号 安装 配置 加载优先级 kommentary注释插件 安装 配置...
eu-elfcmp eu-elfcompress eu-elflint eu-findtextrel eu-make-debug-archive eu-nm eu-objdump eu-ranlib eu-readelf eu-size eu-stack eu-strings eu-strip eu-unstrip expand expr factor fadvise fallocate false fax2ps fax2tiff fc-cache
python https://github.com/mfussenegger/nvim-dap-python.git https://github.com/microsoft/debugpy.git js https://github.com/mxsdev/nvim-dap-vscode-js.git https://github.com/microsoft/vscode-js-debug.git haskell https://github.com/phoityne/haskell-debug-adapter.git lua https://github.com...