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" })
|
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' }
|
||||||
|
if vim.g.hostname == "turing" then
|
||||||
use {
|
use {
|
||||||
'anurag3301/nvim-platformio.lua',
|
'anurag3301/nvim-platformio.lua',
|
||||||
config = function()
|
config = function()
|
||||||
if vim.g.hostname == "turing" then
|
|
||||||
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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue