在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):tjdevries/nlua.nvim开源软件地址(OpenSource Url):https://github.com/tjdevries/nlua.nvim开源编程语言(OpenSource Language):Lua 98.9%开源软件介绍(OpenSource Introduction):nlua.nvimLua Development for Neovim Installation GuideBREAKING: With the removal of I will try and make this better later. Sorry if I messed up your configs with this change. " Install this plugin.
Plug 'tjdevries/nlua.nvim'
" (OPTIONAL): If you want to use built-in LSP (requires Neovim HEAD)
" Currently only supported LSP, but others could work in future if people send PRs :)
Plug 'neovim/nvim-lspconfig'
" (OPTIONAL): This is recommended to get better auto-completion UX experience for builtin LSP.
Plug 'nvim-lua/completion-nvim'
" (OPTIONAL): This is a suggested plugin to get better Lua syntax highlighting
" but it's not currently required
Plug 'euclidianAce/BetterLua.vim'
" (OPTIONAL): If you wish to have fancy lua folds, you can check this out.
Plug 'tjdevries/manillua.nvim' Configuration-- Your custom attach function for nvim-lspconfig goes here.
local custom_nvim_lspconfig_attach = function(...) end
-- To get builtin LSP running, do something like:
-- NOTE: This replaces the calls where you would have before done `require('nvim_lsp').sumneko_lua.setup()`
require('nlua.lsp.nvim').setup(require('lspconfig'), {
on_attach = custom_nvim_lspconfig_attach,
-- Include globals you want to tell the LSP are real :)
globals = {
-- Colorbuddy
"Color", "c", "Group", "g", "s",
}
})
Example CompletionsTODO:https://github.com/bfredl/nvim-luadev Status:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论