本文件中是 treesitter 的配置,主要是自动安装一些常用的 treesitter parser,比如 C/C++/CMake/Python 等,配置如下: { "nvim-treesitter/nvim-treesitter", event = { "BufReadPost", "BufNewFile" }, build = ":TSUpdate", config = function() r
Make treesitter and LSP info available in prompt context.About Neovim plugin for interacting with LLM's and building editor integrated prompts. Topics ai neovim nvim openai neovim-plugin palm prompts nvim-plugin llm prompt-engineering chatgpt Resources Readme License MIT license Activity ...
NeoVim配置文件 个人工作中经常需要查看Android代码,代码量相对较大,试了很多工具,始终觉得还是vim用起来比较顺手,无意间发现NeoVim,慢慢发现这玩意有点东西,所以就又开始折腾起来,打算从vim转向NeoVim,经过一番折腾,算是配置出来比较符合自己习惯的NeoVim。 初步整理了一份初版配置参数,先整理如下,以便随时取用。 1. ...
Lightweight, fast and async formatting and linting plugin for Neovim formatting windline.nvim 483 0 created 4 years ago / updated 10 months ago Animation statusline, floating window statusline. Use lua + luv make some wind bars-and-linesstatusline com...
fn.getfsize(bufname) if fsize > 100 * 1024 then -- skip file size greater than 100k ret = false elseif bufname:match('^fugitive://') then -- skip fugitive buffer ret = false end return ret end }, -- make `drop` and `tab drop` to become preferred func_map = { drop = 'o...
Running Async Jobs If I wanted to beproperabout things, I’d use thejobstartAPI. But I find it easier to create local terminals and run the commands in them. First I pick a terminal buffer as the task target: letg:task_term=b:terminal_job_id:echog:task_term4 ...
Run:CodeCompanion <your prompt>to call the inline assistant. The assistant will evaluate the prompt and either write code or open a chat buffer. You can also make a visual selection and call the assistant. The assistant has knowledge of your last conversation from a chat buffer. A prompt su...
api.nvim_create_user_command("OR", "call CocActionAsync('runCommand', 'editor.action.organizeImport')", {}) -- Add (Neo)Vim's native statusline support -- NOTE: Please see `:h coc-status` for integrations with external plugins that -- provide custom statusline: lightline.vim, vim-...
mikesmithgh/git-prompt-string-lualine.nvim - Add git-prompt-string to your statusline. Tabline romgrk/barbar.nvim - The Neovim tabline plugin. akinsho/bufferline.nvim - A snazzy buffer line built using Lua. crispgm/nvim-tabline - Neovim port of tabline.vim with Lua. alvarosevilla95...
enabled = true, -- Whether or not to enable the provider async = false, -- Whether we should wait for the provider to return before showing the completions timeout_ms = 2000, -- How long to wait for the provider to return before showing completions and treating it as asynchronous transfo...