diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-03-25 12:54:44 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-03-25 12:54:44 -0400 |
| commit | 668326d54bf82f24902236281c3d5453a2cb14e0 (patch) | |
| tree | 2e97ed1ddf70c5eb9fb827b73b643d0942e8ad90 /vim/.config | |
| parent | 082c5e8e027cf011ebf1abb2da24ea496503004f (diff) | |
nvim: platformio only on turing
Diffstat (limited to 'vim/.config')
| -rw-r--r-- | vim/.config/nvim/lua/plugins.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vim/.config/nvim/lua/plugins.lua b/vim/.config/nvim/lua/plugins.lua index 1f47335..e856cf3 100644 --- a/vim/.config/nvim/lua/plugins.lua +++ b/vim/.config/nvim/lua/plugins.lua @@ -78,17 +78,17 @@ return require("packed").setup(function(use) vim.keymap.set({ "n", "t", "v" }, "<leader>tt", require("toggleterm").toggle, { desc = "Toggle terminal" }) end } use { 'nvim-telescope/telescope.nvim' } - use { - 'anurag3301/nvim-platformio.lua', - config = function() - if vim.g.hostname == "turing" then + if vim.g.hostname == "turing" then + use { + 'anurag3301/nvim-platformio.lua', + config = function() require('platformio').setup({ lsp = "ccls" --default: ccls, other option: clangd -- If you pick clangd, it also creates compile_commands.json }) end - end - } + } + end use { "chentoast/marks.nvim", |
