From d732c07a7110198129c3bf5a8e115140450e23c4 Mon Sep 17 00:00:00 2001 From: Andrzej Stepien Date: Tue, 19 Mar 2024 15:50:11 +0100 Subject: [PATCH] check for system architecture --- lua/plugins/lsp.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 6bf1b9b..e8645a5 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -109,6 +109,10 @@ return { -- LSP Configuration & Plugins -- - 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. -- 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 = { -- clangd = {}, -- gopls = {}, @@ -120,6 +124,8 @@ return { -- LSP Configuration & Plugins -- https://github.com/pmizio/typescript-tools.nvim -- -- But for many setups, the LSP (`tsserver`) will work just fine + + marksman = {}, tsserver = {}, ltex = {