This commit is contained in:
Salar Rahmanian 2023-01-04 18:12:50 -08:00
parent 3ffa53af7a
commit 45a9afa230
3 changed files with 17 additions and 14 deletions

View file

@ -179,7 +179,7 @@ _G.load_config = function()
require('texlabconfig').setup {
cache_activate = true,
cache_filetypes = { 'tex', 'bib' },
reverse_search_edit_cmd = 'split',
reverse_search_edit_cmd = vim.cmd.edit,
settings = {
texlab = {
build = {
@ -519,7 +519,11 @@ _G.load_config = function()
Lua = {
completion = {
callSnippet = "Replace"
}
},
diagnostics = {
-- Get the language server to recognize the `vim` global
globals = {'vim'}
},
}
}
})

View file

@ -178,18 +178,6 @@ gls.right[4] = {
highlight = { colors.yellow, colors.purple },
},
}
gls.right[5] = {
BatteryNvim = {
provider = function()
local status = require 'battery'.get_status_line()
local formatted = string.format(status)
return formatted
end,
separator = '',
separator_highlight = { colors.bg, colors.purple },
highlight = { colors.grey, colors.purple },
},
}
gls.short_line_left[1] = {
BufferType = {