# lua用法 [toc] ## basic :::success * :lua print(vim.inspect(package.loaded)) * :lua package.loaded['pttrnRid']=nil * [luaGuide](https://github.com/nanotee/nvim-lua-guide) ::: ## luaUsage :::success local set = vim.opt -- Set the behavior of tab set.tabstop = 2 set.shiftwidth = 2 set.softtabstop = 2 set.expandtab = true :::
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up