This website requires JavaScript.
Explore
Help
Sign In
don
/
dotfiles
Watch
1
Star
0
Fork
0
mirror of
https://github.com/don-philipe/dotfiles.git
synced
2026-11-07 16:14:12 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
918dfec5e1048d3325f404f2f53183ad9c99677b
dotfiles
/
.config
/
nvim
/
lua
/
config
/
commands.lua
T
3 lines
78 B
Lua
Raw
Normal View
History
Unescape
Escape
Add JSON formatting command to nvim
2025-02-17 10:44:08 +01:00
vim.api
.
nvim_create_user_command
(
'JQ'
,
function
()
vim.cmd
(
'%!jq .'
)
end
,
{})
Reference in new issue
Copy Permalink