nvim1/lua/commons/init.lua

31 lines
430 B
Lua

local M = {
constants = {
big_file_size_limit = 50 * 1024, -- 50KB
},
servers = {
"lua_ls",
"gopls",
"clangd",
"bashls",
"pyright",
"yamlls",
"ts_ls",
"rust_analyzer",
},
tools = {
is_version_gte_0_11 = function()
local version = vim.version()
if version.major > 0 then
return true
elseif version.major == 0 then
return version.minor >= 11
end
return false
end,
},
}
return M