nvim: platformio only on turing

This commit is contained in:
Grace Yoder 2026-03-25 12:54:44 -04:00
parent 082c5e8e02
commit 668326d54b

View file

@ -78,17 +78,17 @@ return require("packed").setup(function(use)
vim.keymap.set({ "n", "t", "v" }, "<leader>tt", require("toggleterm").toggle, { desc = "Toggle terminal" }) vim.keymap.set({ "n", "t", "v" }, "<leader>tt", require("toggleterm").toggle, { desc = "Toggle terminal" })
end } end }
use { 'nvim-telescope/telescope.nvim' } use { 'nvim-telescope/telescope.nvim' }
use { if vim.g.hostname == "turing" then
'anurag3301/nvim-platformio.lua', use {
config = function() 'anurag3301/nvim-platformio.lua',
if vim.g.hostname == "turing" then config = function()
require('platformio').setup({ require('platformio').setup({
lsp = "ccls" --default: ccls, other option: clangd lsp = "ccls" --default: ccls, other option: clangd
-- If you pick clangd, it also creates compile_commands.json -- If you pick clangd, it also creates compile_commands.json
}) })
end end
end }
} end
use { use {
"chentoast/marks.nvim", "chentoast/marks.nvim",