check for system architecture
This commit is contained in:
parent
2de15025ff
commit
d732c07a71
|
@ -109,6 +109,10 @@ return { -- LSP Configuration & Plugins
|
||||||
-- - capabilities (table): Override fields in capabilities. Can be used to disable certain LSP features.
|
-- - capabilities (table): Override fields in capabilities. Can be used to disable certain LSP features.
|
||||||
-- - settings (table): Override the default settings passed when initializing the server.
|
-- - settings (table): Override the default settings passed when initializing the server.
|
||||||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||||
|
--
|
||||||
|
local arch = require("jit").arch
|
||||||
|
--get architecture as string (to blocklist installs that don't work on Android)
|
||||||
|
|
||||||
local servers = {
|
local servers = {
|
||||||
-- clangd = {},
|
-- clangd = {},
|
||||||
-- gopls = {},
|
-- gopls = {},
|
||||||
|
@ -120,6 +124,8 @@ return { -- LSP Configuration & Plugins
|
||||||
-- https://github.com/pmizio/typescript-tools.nvim
|
-- https://github.com/pmizio/typescript-tools.nvim
|
||||||
--
|
--
|
||||||
-- But for many setups, the LSP (`tsserver`) will work just fine
|
-- But for many setups, the LSP (`tsserver`) will work just fine
|
||||||
|
|
||||||
|
marksman = {},
|
||||||
tsserver = {},
|
tsserver = {},
|
||||||
ltex = {
|
ltex = {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue