diff options
| author | Dhruv Manilawala <dhruvmanila@gmail.com> | 2021-04-28 19:59:28 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-28 10:29:28 -0400 |
| commit | 28ae702682ce9874f716a3258d4d1539e71bd161 (patch) | |
| tree | b94c782d6aea7a678d728cbd72d2f78ee61e3597 /lua/telescope/pickers.lua | |
| parent | 1675d370bfba182560aa526190cdf808a3a80420 (diff) | |
fix: use treesitter language name instead of ft if available (#801)
* fix: use treesitter language name if available
This will fix the problem where the filetype is different than the
treesitter lang name. Eg., filetyep -> "sh", langname -> "bash"
* refactor: use treesitter only if the query object is available
* refactor: ok -> parser_ok ;)
Diffstat (limited to 'lua/telescope/pickers.lua')
0 files changed, 0 insertions, 0 deletions
