tidy-viewer
StyLua
Our great sponsors
tidy-viewer | StyLua | |
---|---|---|
28 | 11 | |
2,018 | 1,363 | |
- | - | |
4.3 | 8.8 | |
21 days ago | 20 days ago | |
Rust | Rust | |
The Unlicense | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tidy-viewer
- Csvlens: Command line CSV file viewer. Like less but made for CSV
-
Are there any TUI apps you recommend outside of ncdu / nnn / htop / vim / bat / fd / tig / duf?
I work with data a lot so I use the sqlite cli. I also made tv (self-promotion) to view csvs.
- One-liner for running queries against CSV files with SQLite
-
What are some of your favorite CLI/TUI apps?
tv (cat for csvs) - https://github.com/alexhallam/tv
- Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.
-
TV is a cross-platform CSV pretty printer made to maximize viewer enjoyment
https://github.com/alexhallam/tv/pull/58
I added VisiData in my README and represented it in a positive light in the description. Again, just wanted to apologize for my mistake.
#better-together
- tv -- a pretty-printing CSV viewer
-
[OC] Tidy Viewer (tv) is a cross-platform csv pretty printer that uses column styling to maximize viewer enjoyment in the terminal.
Give it a try! If you like it ⭐ on Github https://github.com/alexhallam/tv!
StyLua
-
question about plugins
Use and enforce a style with StyLua) or LuaFormatte and neovim can autoformat for ya.
-
sumneko_lua not respecting project's stylua.toml
stylua.toml is the config file of Stylua not of sumneko-lua
-
StyLua now supports collapsing simple statements
Starting from version 0.14.0, StyLua (the Lua code formatter in Neovim world) implements option collapse_simple_statement. From release notes:
-
Writing a neovim plugin. Please send criticisms to make the code better
Check out StyLua if you want a code formatter.
-
luaCheck and class definition
Here is the instruction how to install and config.
-
Cannot run executables with Alpine and Busybox images
RUN wget -O stylua-0.11.0-linux.zip https://github.com/JohnnyMorganz/StyLua/releases/download/v0.11.0/stylua-0.11.0-linux.zip && \ unzip stylua-0.11.0-linux.zip && \ rm stylua-0.11.0-linux.zip && \ chmod +x stylua
-
Difference between require("foo") and require"foo"
If your function call has only one argument and it happens to be a literal string or a table, then you might want to eliminate the parenthesis. Use whatever style you prefer, the later is useful for some DSLs. Let stylua auto format it anyway.
-
Lua Indentation Woes
Have you tried any external programs to format your code instead? That's what I usually do. Just set 'formatprg', and use gq to format the code. With a quick search I found LuaFormatter, and StyLua, but I can't say if they format the code the way you want. In my experience, external code formaters will do a better job, and they have more options to tweak as well.
-
[question] Where can i find the formatter tool for lua ?
Have a look at https://github.com/JohnnyMorganz/StyLua together with https://github.com/jose-elias-alvarez/null-ls.nvim
-
lua-format : how to keep equals signs aligned (like EasyAlign)
I personally use https://github.com/JohnnyMorganz/StyLua and I am seeing it a lot in some popular projects like telescope.nvim, nvim-lspconfig and ther is also a PR to include it into neovim itself to format the lua files.
What are some alternatives?
visidata - A terminal spreadsheet multitool for discovering and arranging data
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
LuaFormatter - Code formatter for Lua
xsv - A fast CSV command line toolkit written in Rust.
vscode-lua-format - Reformats your Lua source code
csview - 📠 Pretty and fast csv viewer for cli with cjk/emoji support.
selene - A blazing-fast modern Lua linter written in Rust
ngrid - It's "less" for data!
luacheck - A tool for linting and static analysis of Lua code.
tabled - An easy to use library for pretty print tables of Rust structs and enums.
lua-style-guide - Lua Style Guide, as used by LuaRocks