diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-09-14 21:17:31 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-09-14 21:27:26 +0200 |
| commit | b9d662cf89461cc66feb5fca363fa54bbd50563a (patch) | |
| tree | 3e831962b04429c73bb9f613edbda7724cb4070e /lua | |
| parent | fix(lang): only use first part in multi-lang (diff) | |
| download | nvim-treesitter-b9d662cf89461cc66feb5fca363fa54bbd50563a.tar nvim-treesitter-b9d662cf89461cc66feb5fca363fa54bbd50563a.tar.gz nvim-treesitter-b9d662cf89461cc66feb5fca363fa54bbd50563a.tar.bz2 nvim-treesitter-b9d662cf89461cc66feb5fca363fa54bbd50563a.tar.lz nvim-treesitter-b9d662cf89461cc66feb5fca363fa54bbd50563a.tar.xz nvim-treesitter-b9d662cf89461cc66feb5fca363fa54bbd50563a.tar.zst nvim-treesitter-b9d662cf89461cc66feb5fca363fa54bbd50563a.zip | |
chore: fix formatting in parsers.lua
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index fec327ec4..e0e80c115 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -716,7 +716,7 @@ local M = { } function M.ft_to_lang(ft) - ft = vim.split(ft, '.', true)[1] + ft = vim.split(ft, ".", true)[1] return ft_to_parsername[ft] or ft end |
