Compare commits

..

2 commits

Author SHA1 Message Date
668326d54b nvim: platformio only on turing 2026-03-25 12:54:44 -04:00
082c5e8e02 nvim: platformio only on turing 2026-03-25 12:53:19 -04:00

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 not vim.g.is_purdue 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",