diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-12-05 15:32:28 +0100 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-12-06 11:16:30 +0100 |
| commit | e0eec76dad852814e5972aa66ec2dc98d03525a8 (patch) | |
| tree | 156216442bb1930c5c5190d17eeeff378489d660 /lua | |
| parent | feat(angular): add style_unit highlighting(#8312) (diff) | |
| download | nvim-treesitter-e0eec76dad852814e5972aa66ec2dc98d03525a8.tar nvim-treesitter-e0eec76dad852814e5972aa66ec2dc98d03525a8.tar.gz nvim-treesitter-e0eec76dad852814e5972aa66ec2dc98d03525a8.tar.bz2 nvim-treesitter-e0eec76dad852814e5972aa66ec2dc98d03525a8.tar.lz nvim-treesitter-e0eec76dad852814e5972aa66ec2dc98d03525a8.tar.xz nvim-treesitter-e0eec76dad852814e5972aa66ec2dc98d03525a8.tar.zst nvim-treesitter-e0eec76dad852814e5972aa66ec2dc98d03525a8.zip | |
fix(lua): fix some emmyluals warnings
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/config.lua | 2 | ||||
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/config.lua b/lua/nvim-treesitter/config.lua index 8150ad8a8..f76897bc4 100644 --- a/lua/nvim-treesitter/config.lua +++ b/lua/nvim-treesitter/config.lua @@ -7,7 +7,7 @@ M.tiers = { 'stable', 'unstable', 'unmaintained', 'unsupported' } ---@type TSConfig local config = { - install_dir = vim.fs.joinpath(vim.fn.stdpath('data'), 'site'), + install_dir = vim.fs.joinpath(vim.fn.stdpath('data') --[[@as string]], 'site'), } ---Setup call for users to override configuration configurations. diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index 94d21d46a..1020e7da9 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -487,7 +487,7 @@ end local function install(languages, options) options = options or {} - local cache_dir = fs.normalize(fn.stdpath('cache')) + local cache_dir = fs.normalize(fn.stdpath('cache') --[[@as string]]) if not uv.fs_stat(cache_dir) then fn.mkdir(cache_dir, 'p') end |
