Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ii14/emmylua-nvim
Neovim emmylua library
https://github.com/ii14/emmylua-nvim
emmylua lua neovim nvim
Last synced: 3 months ago
JSON representation
Neovim emmylua library
- Host: GitHub
- URL: https://github.com/ii14/emmylua-nvim
- Owner: ii14
- License: unlicense
- Created: 2022-07-09T16:05:52.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-02T00:57:35.000Z (4 months ago)
- Last Synced: 2024-08-02T02:05:13.147Z (4 months ago)
- Topics: emmylua, lua, neovim, nvim
- Language: Lua
- Homepage:
- Size: 311 KB
- Stars: 59
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# EmmyLua library for Neovim
Neovim completion library for [sumneko/lua-language-server](https://github.com/sumneko/lua-language-server)
If you have your entire runtime path as a workspace (like on the code snippet below),
it should just work after installing this just like any other plugin. If not, include
the cloned repository in `Lua.workspace.library`.
```lua
lspconfig.sumneko_lua.setup {
settings = {
Lua = {
workspace = {
library = vim.api.nvim_get_runtime_file('', true),
},
},
},
}
```Completion for:
* `vim.api` (no documentation)
* `vim.fn` (no documentation)
* `vim.o`, `vim.opt`, `vim.opt_local`, `vim.opt_global` (with documentation)
* modules:
`vim.F`, `vim.filetype`, `vim.fs`, `vim.health`, `vim.highlight`, `vim.keymap`,
`vim.lsp`, `vim.treesitter`, `vim.ui`
* some of the top-level `vim.*` functions