/f-string-toggle.nvim

:yarn: A Neovim plugin to toggle python f-strings

Primary LanguageLua

šŸ§¶ f-string-toggle

f-string-toggle

A modularised version of this reddit post by u/ddmenddes_ - all credit goes to the original author!

Install

{
  "roobert/f-string-toggle.nvim",
  config = function()
    require("f-string-toggle").setup({
      key_binding = "<leader>f",
      key_binding_desc = "Toggle f-string"
    })
  end,
}

Usage

Within a string press leader-f to toggle if it's an f-string or not.