SkillAgentSearch skills...

Teastylua.nvim

StyLua for Neovim.

Install / Use

/learn @willelz/Teastylua.nvim
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

teastylua.nvim

teastylua.nvim is wrapper for StyLua.

Requirements

  • Neovim nightly (v0.5)
  • StyLua

Usage

For init.vim

nmap <Space>f <Plug>teastyluaFormat

"optional
let g:teastylua_options = '--search-parent-directories --config-path="path/to/config"'

For init.lua

vim.api.nvim_set_keymap("n", "<Space>f", "<Plug>teastyluaFormat")

-- optional
vim.g.teastylua_options = "--search-parent-directories --config-path="path/to/config""

Formats the current buffer when executed.

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1y ago
Forks0

Languages

Lua

Security Score

50/100

Audited on Jul 1, 2024

No findings