luacheck
telescope.nvim
Our great sponsors
luacheck | telescope.nvim | |
---|---|---|
14 | 322 | |
1,864 | 13,861 | |
- | 5.0% | |
0.0 | 9.1 | |
over 1 year ago | 3 days ago | |
Lua | Lua | |
MIT License | MIT License |
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.
luacheck
-
strict.lua
Not directly related, but luacheck can also help with this.
-
Lua is eye candy
Yeah. While you're at it, make a habit of running luacheck on your files as it helps catch a lot of these issues that can sneak in by mistake: https://github.com/mpeterv/luacheck
-
Help me reload my lua config! :)
Using something like https://github.com/mpeterv/luacheck might be helpful too. Will check all the files in a directory and will let you know which one might be problematic.
-
Lsp: Execute callback after server initialized
I'm trying to setup luacheck (via null-ls) to run alongside sumneko-lua (via nvim-lspconfig).
-
A History of Lua
Most of the time nothing is used. The thing is that iterating is so quick, that you find the problems really fast.
Although, I've been using luacheck https://github.com/mpeterv/luacheck. It is quite nice, but you have to write down the global variables by hand on the config file.
-
Writing a neovim plugin. Please send criticisms to make the code better
Check out luacheck. It can help spot typos or mistakes you've made and warn against anti-patterns. I'd honestly only look into setting it up locally because there's no benefit to putting it in a CI pipeline unless you have one for another reason IMO. This should be all the config you need:
- Modding Help - Error Diagnosis
-
GitHub Successors
Sadly the scenario that the successor feature is intended to alleviate has very much become reality. The creator of Luacheck (Peter Melnichenko) passed away a couple of years ago, and ever since then the GitHub repository has been in a state of limbo. Multiple unofficial forks have come and gone, but Peter's is still the first result on Google if you search "luacheck". It isn't even possible to change the README or pin an issue to get people's attention about the fork; to this day people are still posting issues to the old repo.
And Luacheck is "the" Lua static analysis tool that pretty much everyone uses, so it's a very significant issue.
-
Kind of define in lua
You are probably right, but luacheck is well aware of which global variables are built-in and it has special comments, such as -- no global or --ignore in case you very want to overwrite them.
-
Is it ok to name a function for example "function self:Example() end" or is it a big mistake? And how to find (directory) location of a function?
Calling your function self is as much bad practice as calling it print. Use luacheck to avoid such mistakes.
telescope.nvim
-
Level Up Your Dev Workflow: Conquer Web Development with a Blazing Fast Neovim Setup (Part 1)
for telescope.nvim (optional) live grep: ripgrep find files: fd
-
Neovim: creating keymaps in lua
Here we have a configuration for telescope.nvim, a very popular fuzzy finder.
- What is the reason people 'touch' a file before writing it?
-
What are the plugins/settings to be able to view individual file or folder contents while scrolling through files or folders?
EDIT: I found what I was looking for https://github.com/nvim-telescope/telescope.nvim and https://github.com/nvim-telescope/telescope-file-browser.nvim
-
What are some plugins that you can't live without?
Fuzzy Finder: fzf.vim (for its speed) along with telescope.nvim (for its ecosystem)
-
Telescope.nvim: Fully Customizable Layout!
Just landed on Telescope.nvim: https://github.com/nvim-telescope/telescope.nvim/pull/2572
-
telescope-sg: a new way to do structural search in neovim
This extension allows you to use the power of ast-grep to find code patterns in your editor, using the familiar and awesome interface of telescope.nvim.
- Telescope.nvim: Find, Filter, Preview, Pick. All Lua, All the Time
-
Benchmarking some of my favourite neovim plugins over time
telescope.nvim
-
Why does vim.lsp.buf.definition open this window instead of taking me to the styles file (the same with tsserver and Volar)?
My solution is using telescope.nvim with lsp extension, and map the vim.lsp.buf.definition keybinding to telescope one https://github.com/nvim-telescope/telescope.nvim
What are some alternatives?
lua-language-server - A language server that offers Lua language support - programmed in Lua
fzf.vim - fzf :heart: vim
StyLua - An opinionated Lua code formatter
fzf-lua - Improved fzf.vim written in lua
LuaFormatter - Code formatter for Lua
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua
telescope-fzf-native.nvim - FZF sorter for telescope written in c
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
Visual Studio Code - Visual Studio Code
NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. [Moved to: https://github.com/NvChad/NvChad]
nvim-tree.lua - A file explorer tree for neovim written in lua