Skip to content

anurag3301/nvim-platformio.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-platfromio.lua

PlatformIO wrapper for neovim written in lua.

Installation

Install PlatformIO using pip

curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py

# Check if you have a working Installation of PlatformIO
pio --version

Install the plugin using packer

use {
    'anurag3301/nvim-platformio.lua',
    requires = {
        {'akinsho/nvim-toggleterm.lua'},
        {'nvim-telescope/telescope.nvim'},
        {'nvim-lua/plenary.nvim'},
    }
}

Or install the plugin using lazy

return {
    "anurag3301/nvim-platformio.lua",
    dependencies = {
        { "akinsho/nvim-toggleterm.lua" },
        { "nvim-telescope/telescope.nvim" },
        { "nvim-lua/plenary.nvim" },
    },
}

Usage :h PlatformIO

Lazy loading

It's possible to lazy load the plugin using Lazy.nvim, this will load the plugins only when it is needed.

to enable lazy loading, add this plugin spec to your config.

cmd = {
    "Pioinit",
    "Piorun",
    "Piocmd",
    "Piolib",
    "Piomon",
    "Piodebug",
},

Demo

pio.mp4

TODO

  • Syntax Highlighted Json Preview

About

PlatformIO wrapper for neovim written in lua

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published