diff --git a/lua/platformio/pioinit.lua b/lua/platformio/pioinit.lua index 031e51f..f00ecf6 100644 --- a/lua/platformio/pioinit.lua +++ b/lua/platformio/pioinit.lua @@ -51,16 +51,16 @@ local function pick_framework(board_details) .new(opts, { prompt_title = 'frameworks', finder = finders.new_table({ - results = vim.list_extend({"none"}, board_details['frameworks']), + results = vim.list_extend({ 'none' }, board_details['frameworks']), }), attach_mappings = function(prompt_bufnr, _) actions.select_default:replace(function() actions.close(prompt_bufnr) local selection = action_state.get_selected_entry() local selected_framework = selection[1] - if selected_framework == "none" then - selected_framework = "" - end + if selected_framework == 'none' then + selected_framework = '' + end local command = 'pio project init --board ' .. board_details['id'] .. ' --project-option "framework=' .. selected_framework .. '"' -- .. utils.extra utils.ToggleTerminal(command, 'float', function() diff --git a/lua/platformio/piomenu.lua b/lua/platformio/piomenu.lua index 713e131..5072153 100644 --- a/lua/platformio/piomenu.lua +++ b/lua/platformio/piomenu.lua @@ -31,9 +31,9 @@ function M.piomenu(config) end if not wk.did_setup then - wk.setup({ - preset = 'helix', --'modern', --'classic' - }) + wk.setup({ + preset = 'helix', --'modern', --'classic' + }) end local Config = require('which-key.config') Config.sort = { 'order', 'group', 'manual', 'mod' }