nvim: small fixes here and there

This commit is contained in:
tea 2024-09-03 21:05:14 +02:00
parent 8f91bf70fc
commit 08cd4b00de
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
return {
{ 'https://github.com/hrsh7th/nvim-cmp',
lazy = true,
dependencies = {
'https://github.com/hrsh7th/cmp-nvim-lsp',
'https://github.com/hrsh7th/cmp-buffer',

View File

@ -2,7 +2,7 @@ local has_api_level = require('my.functions').has_api_level
return {
{ 'https://github.com/nvim-treesitter/nvim-treesitter',
-- version = '*',
-- version = '*', -- needs version after v0.9.2
build = [[:TSUpdateSync]],
opts = {
ensure_installed = 'all',
@ -43,7 +43,7 @@ return {
{ 'https://github.com/powerman/vim-plugin-AnsiEsc' },
{ 'https://github.com/lervag/vimtex',
version = '*',
enabled = has_api_level(11) and vim.fn.executable('xelatex') == 1
enabled = has_api_level(11) and vim.fn.executable('xelatex') == 1,
},
{ 'https://github.com/NvChad/nvim-colorizer.lua',
opts = {

View File

@ -2,6 +2,6 @@ return {
-- embed nvim in browsers
{ 'https://github.com/glacambre/firenvim',
version = '*',
build = [[:call firenvim#install(0)]]
build = [[:call firenvim#install(0)]],
}
}