mirror of
https://github.com/gyoder/dots.git
synced 2026-04-02 20:25:46 +00:00
nvim: platformio only on turing
This commit is contained in:
parent
082c5e8e02
commit
668326d54b
1 changed files with 6 additions and 6 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue