| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:030ae73c-e4fa-8f83-f4c3-e39a71655e89 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | DDA0:251AC0:F80F19:14AB85C:6B005951 |
| html-safe-nonce | 810d2fed5ca29c176c50b10cb3078f77a7d9eb3191b8d5474908b212f4a46c84 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREEwOjI1MUFDMDpGODBGMTk6MTRBQjg1Qzo2QjAwNTk1MSIsInZpc2l0b3JfaWQiOiI1NjEzMDc1NTExMzI1NzE5ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a314b150a4ad54fced386c99f0ce7986750138f56fc0555df6763cec7f525520 |
| hovercard-subject-tag | repository:383141190 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/ktgon/nvim-lua-guide |
| twitter:image | https://opengraph.githubassets.com/4961f6c8ca2c3e2a27c621035f38487c13248ac8cf8e58960d94c540b120e6b7/ktgon/nvim-lua-guide |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4961f6c8ca2c3e2a27c621035f38487c13248ac8cf8e58960d94c540b120e6b7/ktgon/nvim-lua-guide |
| og:image:alt | A guide to using Lua in Neovim. Contribute to ktgon/nvim-lua-guide development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| turbo-cache-control | no-cache |
| go-import | github.com/ktgon/nvim-lua-guide git https://github.com/ktgon/nvim-lua-guide.git |
| octolytics-dimension-user_id | 3859128 |
| octolytics-dimension-user_login | ktgon |
| octolytics-dimension-repository_id | 383141190 |
| octolytics-dimension-repository_nwo | ktgon/nvim-lua-guide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 275253947 |
| octolytics-dimension-repository_parent_nwo | nanotee/nvim-lua-guide |
| octolytics-dimension-repository_network_root_id | 275253947 |
| octolytics-dimension-repository_network_root_nwo | nanotee/nvim-lua-guide |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/ktgon/nvim-lua-guide#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fktgon%2Fnvim-lua-guide |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fktgon%2Fnvim-lua-guide |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=ktgon%2Fnvim-lua-guide |
| Reload | https://github.com/ktgon/nvim-lua-guide |
| Reload | https://github.com/ktgon/nvim-lua-guide |
| Reload | https://github.com/ktgon/nvim-lua-guide |
| ktgon | https://github.com/ktgon |
| nvim-lua-guide | https://github.com/ktgon/nvim-lua-guide |
| Code | https://github.com/ktgon/nvim-lua-guide |
| Pull requests | https://github.com/ktgon/nvim-lua-guide/pulls |
| Actions | https://github.com/ktgon/nvim-lua-guide/actions |
| Projects | https://github.com/ktgon/nvim-lua-guide/projects |
| Security and quality | https://github.com/ktgon/nvim-lua-guide/security |
| Insights | https://github.com/ktgon/nvim-lua-guide/pulse |
| https://github.com/ktgon/nvim-lua-guide |
| nvim-lua-guide | https://github.com/ktgon/nvim-lua-guide |
| nanotee/nvim-lua-guide | https://github.com/nanotee/nvim-lua-guide |
| Notifications | https://github.com/login?return_to=%2Fktgon%2Fnvim-lua-guide |
| Fork0 (0) | https://github.com/login?return_to=%2Fktgon%2Fnvim-lua-guide |
| Star0 (0) | https://github.com/login?return_to=%2Fktgon%2Fnvim-lua-guide |
| Readme | https://github.com/ktgon/nvim-lua-guide#readme-ov-file |
| Activity | https://github.com/ktgon/nvim-lua-guide/activity |
| 0 forks | https://github.com/ktgon/nvim-lua-guide/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fktgon%2Fnvim-lua-guide&report=ktgon+%28user%29 |
| Branches | https://github.com/ktgon/nvim-lua-guide/branches |
| Tags | https://github.com/ktgon/nvim-lua-guide/tags |
| https://github.com/ktgon/nvim-lua-guide/branches |
| https://github.com/ktgon/nvim-lua-guide/tags |
| 131 Commits | https://github.com/ktgon/nvim-lua-guide/commits/master/ |
| https://github.com/ktgon/nvim-lua-guide/commits/master/ |
| doc | https://github.com/ktgon/nvim-lua-guide/tree/master/doc |
| doc | https://github.com/ktgon/nvim-lua-guide/tree/master/doc |
| scripts | https://github.com/ktgon/nvim-lua-guide/tree/master/scripts |
| scripts | https://github.com/ktgon/nvim-lua-guide/tree/master/scripts |
| .gitattributes | https://github.com/ktgon/nvim-lua-guide/blob/master/.gitattributes |
| .gitattributes | https://github.com/ktgon/nvim-lua-guide/blob/master/.gitattributes |
| README.md | https://github.com/ktgon/nvim-lua-guide/blob/master/README.md |
| README.md | https://github.com/ktgon/nvim-lua-guide/blob/master/README.md |
| README | https://github.com/ktgon/nvim-lua-guide |
| https://github.com/ktgon/nvim-lua-guide#getting-started-using-lua-in-neovim |
| https://github.com/ktgon/nvim-lua-guide#translations |
| 🇨🇳 Chinese version | https://github.com/glepnir/nvim-lua-guide-zh |
| 🇧🇷 Portuguese version | https://github.com/npxbr/nvim-lua-guide/blob/master/README.pt-br.md |
| 🇯🇵 Japanese version | https://github.com/willelz/nvim-lua-guide-ja/blob/master/README.ja.md |
| 🇷🇺 Russian version | https://github.com/kuator/nvim-lua-guide-ru |
| https://github.com/ktgon/nvim-lua-guide#introduction |
| integration of Lua | https://www.youtube.com/watch?v=IP3J56sKtn0 |
| first-class language inside Neovim | https://github.com/neovim/neovim/wiki/FAQ#why-embed-lua-instead-of-x |
| https://github.com/ktgon/nvim-lua-guide#learning-lua |
| Learn X in Y minutes page about Lua | https://learnxinyminutes.com/docs/lua/ |
| This guide | https://github.com/medwatt/Notes/blob/main/Lua/Lua_Quick_Guide.ipynb |
| 1-hour tutorial on the language | https://www.youtube.com/watch?v=iMacxZQMPXs |
| lua-users wiki | http://lua-users.org/wiki/LuaDirectory |
| official reference manual for Lua | https://www.lua.org/manual/5.1/ |
| wsdjeg/luarefvim | https://github.com/wsdjeg/luarefvim |
| LuaJIT | https://staff.fnwi.uva.nl/h.vandermeer/docs/lua/luajit/luajit_intro.html |
| https://github.com/ktgon/nvim-lua-guide#existing-tutorials-for-writing-lua-in-neovim |
| teukka.tech - From init.vim to init.lua | https://teukka.tech/luanvim.html |
| dev.to - How to write neovim plugins in Lua | https://dev.to/2nit/how-to-write-neovim-plugins-in-lua-5cca |
| dev.to - How to make UI for neovim plugins in Lua | https://dev.to/2nit/how-to-make-ui-for-neovim-plugins-in-lua-3b6e |
| ms-jpq - Neovim Async Tutorial | https://github.com/ms-jpq/neovim-async-tutorial |
| oroques.dev - Neovim 0.5 features and the switch to init.lua | https://oroques.dev/notes/neovim-init/ |
| https://github.com/ktgon/nvim-lua-guide#companion-plugins |
| Vimpeccable | https://github.com/svermeulen/vimpeccable |
| plenary.nvim | https://github.com/nvim-lua/plenary.nvim |
| popup.nvim | https://github.com/nvim-lua/popup.nvim |
| nvim_utils | https://github.com/norcalli/nvim_utils |
| nvim-luadev | https://github.com/bfredl/nvim-luadev |
| nvim-luapad | https://github.com/rafcamlet/nvim-luapad |
| nlua.nvim | https://github.com/tjdevries/nlua.nvim |
| BetterLua.vim | https://github.com/euclidianAce/BetterLua.vim |
| https://github.com/ktgon/nvim-lua-guide#where-to-put-lua-files |
| https://github.com/ktgon/nvim-lua-guide#initlua |
| https://github.com/ktgon/nvim-lua-guide#modules |
| https://github.com/ktgon/nvim-lua-guide#tips |
| https://github.com/ktgon/nvim-lua-guide#runtime-files |
| https://github.com/ktgon/nvim-lua-guide#tips-1 |
| https://github.com/ktgon/nvim-lua-guide#using-lua-from-vimscript |
| https://github.com/ktgon/nvim-lua-guide#lua |
| https://github.com/ktgon/nvim-lua-guide#luado |
| https://github.com/ktgon/nvim-lua-guide#sourcing-lua-files |
| https://github.com/ktgon/nvim-lua-guide#sourcing-a-lua-file-vs-calling-require |
| https://github.com/ktgon/nvim-lua-guide#luaeval |
| https://github.com/ktgon/nvim-lua-guide#vlua |
| _G | https://www.lua.org/manual/5.1/manual.html#pdf-_G |
| https://github.com/ktgon/nvim-lua-guide#caveats |
| https://github.com/ktgon/nvim-lua-guide#tips-2 |
| https://github.com/ktgon/nvim-lua-guide#the-vim-namespace |
| https://github.com/ktgon/nvim-lua-guide#tips-3 |
| https://github.com/ktgon/nvim-lua-guide#using-vimscript-from-lua |
| https://github.com/ktgon/nvim-lua-guide#vimapinvim_eval |
| https://github.com/ktgon/nvim-lua-guide#caveats-1 |
| https://github.com/ktgon/nvim-lua-guide#vimapinvim_exec |
| https://github.com/ktgon/nvim-lua-guide#vimapinvim_command |
| https://github.com/ktgon/nvim-lua-guide#vimcmd |
| https://github.com/ktgon/nvim-lua-guide#tips-4 |
| https://github.com/ktgon/nvim-lua-guide#vimapinvim_replace_termcodes |
| https://github.com/ktgon/nvim-lua-guide#managing-vim-options |
| https://github.com/ktgon/nvim-lua-guide#using-api-functions |
| https://github.com/ktgon/nvim-lua-guide#using-meta-accessors |
| https://github.com/ktgon/nvim-lua-guide#managing-vim-internal-variables |
| https://github.com/ktgon/nvim-lua-guide#using-api-functions-1 |
| https://github.com/ktgon/nvim-lua-guide#using-meta-accessors-1 |
| https://github.com/ktgon/nvim-lua-guide#caveats-2 |
| Issue #12544 | https://github.com/neovim/neovim/issues/12544 |
| https://github.com/ktgon/nvim-lua-guide#calling-vimscript-functions |
| https://github.com/ktgon/nvim-lua-guide#vimfnfunction |
| https://github.com/ktgon/nvim-lua-guide#tips-5 |
| https://github.com/ktgon/nvim-lua-guide#caveats-3 |
| https://github.com/ktgon/nvim-lua-guide#defining-mappings |
| https://github.com/ktgon/nvim-lua-guide#defining-user-commands |
| Pull request #11613 | https://github.com/neovim/neovim/pull/11613 |
| https://github.com/ktgon/nvim-lua-guide#defining-autocommands |
| Pull request #12378 | https://github.com/neovim/neovim/pull/12378 |
| this wrapper from norcalli/nvim_utils | https://github.com/norcalli/nvim_utils/blob/master/lua/nvim_utils.lua#L554-L567 |
| https://github.com/ktgon/nvim-lua-guide#defining-syntaxhighlights |
| Issue #9876 | https://github.com/neovim/neovim/issues/9876 |
| tjdevries/colorbuddy.vim, a library for creating colorschemes in Lua | https://github.com/tjdevries/colorbuddy.vim |
| https://github.com/ktgon/nvim-lua-guide#general-tips-and-recommendations |
| https://github.com/ktgon/nvim-lua-guide#reloading-cached-modules |
| nvim-lua/plenary.nvim | https://github.com/nvim-lua/plenary.nvim |
| custom function | https://github.com/nvim-lua/plenary.nvim/blob/master/lua/plenary/reload.lua |
| https://github.com/ktgon/nvim-lua-guide#notes-about-vimscript---lua-type-conversion |
| https://github.com/ktgon/nvim-lua-guide#converting-a-variable-creates-a-copy |
| https://github.com/ktgon/nvim-lua-guide#conversion-is-not-always-possible |
| https://github.com/ktgon/nvim-lua-guide#vim-booleans |
| https://github.com/ktgon/nvim-lua-guide#setting-up-linterslanguage-servers |
| https://github.com/ktgon/nvim-lua-guide#luacheck |
| luacheck | https://github.com/mpeterv/luacheck/ |
| Alloyed/lua-lsp | https://github.com/Alloyed/lua-lsp/ |
| documentation | https://luacheck.readthedocs.io/en/stable/config.html |
| https://github.com/ktgon/nvim-lua-guide#sumnekolua-language-server |
| nvim-lspconfig | https://github.com/neovim/nvim-lspconfig/ |
| instructions to configure sumneko/lua-language-server | https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md#sumneko_lua |
| sumneko/lua-language-server | https://github.com/sumneko/lua-language-server/ |
| "Setting without VSCode" | https://github.com/sumneko/lua-language-server/wiki/Setting-without-VSCode |
| https://github.com/ktgon/nvim-lua-guide#cocnvim |
| rafcamlet/coc-nvim-lua | https://github.com/rafcamlet/coc-nvim-lua/ |
| coc.nvim | https://github.com/neoclide/coc.nvim/ |
| https://github.com/ktgon/nvim-lua-guide#debugging-lua-code |
| jbyuki/one-small-step-for-vimkind | https://github.com/jbyuki/one-small-step-for-vimkind |
| Debug Adapter Protocol | https://microsoft.github.io/debug-adapter-protocol/ |
| mfussenegger/nvim-dap | https://github.com/mfussenegger/nvim-dap/ |
| puremourning/vimspector | https://github.com/puremourning/vimspector/ |
| https://github.com/ktgon/nvim-lua-guide#testing-lua-code |
| plenary.nvim: test harness | https://github.com/nvim-lua/plenary.nvim/#plenarytest_harness |
| notomo/vusted | https://github.com/notomo/vusted |
| https://github.com/ktgon/nvim-lua-guide#using-luarocks-packages |
| wbthomason/packer.nvim | https://github.com/wbthomason/packer.nvim |
| README | https://github.com/wbthomason/packer.nvim/#luarocks-support |
| https://github.com/ktgon/nvim-lua-guide#miscellaneous |
| https://github.com/ktgon/nvim-lua-guide#vimloop |
| Official documentation for LibUV | https://docs.libuv.org/en/v1.x/ |
| Luv documentation | https://github.com/luvit/luv/blob/master/docs.md |
| teukka.tech - Using LibUV in Neovim | https://teukka.tech/posts/2020-01-07-vimloop/ |
| https://github.com/ktgon/nvim-lua-guide#vimlsp |
| neovim/nvim-lspconfig | https://github.com/neovim/nvim-lspconfig/ |
| neovim/neovim#12655 | https://github.com/neovim/neovim/pull/12655 |
| How to migrate from diagnostic-nvim | https://github.com/nvim-lua/diagnostic-nvim/issues/73#issue-737897078 |
| nvim-lua/completion-nvim | https://github.com/nvim-lua/completion-nvim |
| RishabhRD/nvim-lsputils | https://github.com/RishabhRD/nvim-lsputils |
| https://github.com/ktgon/nvim-lua-guide#vimtreesitter |
| Tree-sitter | https://tree-sitter.github.io/tree-sitter/ |
| presentation (38:37) | https://www.youtube.com/watch?v=Jes3bD6P0To |
| nvim-treesitter | https://github.com/nvim-treesitter/ |
| https://github.com/ktgon/nvim-lua-guide#transpilers |
| Moonscript | https://moonscript.org/ |
| svermeulen/nvim-moonmaker | https://github.com/svermeulen/nvim-moonmaker |
| Fennel | https://fennel-lang.org/ |
| Olical/aniseed | https://github.com/Olical/aniseed |
| Olical/conjure | https://github.com/Olical/conjure |
| TypeScriptToLua/TypeScriptToLua | https://github.com/TypeScriptToLua/TypeScriptToLua |
| teal-language/tl | https://github.com/teal-language/tl |
| Haxe | https://haxe.org/ |
| SwadicalRag/wasm2lua | https://github.com/SwadicalRag/wasm2lua |
| hengestone/lua-languages | https://github.com/hengestone/lua-languages |
| Readme | https://github.com/ktgon/nvim-lua-guide#readme-ov-file |
| Activity | https://github.com/ktgon/nvim-lua-guide/activity |
| 0 forks | https://github.com/ktgon/nvim-lua-guide/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fktgon%2Fnvim-lua-guide&report=ktgon+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |