Skip to content

Commit

Permalink
refactor: move filetype plugin
Browse files Browse the repository at this point in the history
Signed-off-by: SUGIYAMA Yoshio <[email protected]>
  • Loading branch information
IMOKURI committed Sep 25, 2023
1 parent 6ec9004 commit 30d23fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
11 changes: 0 additions & 11 deletions config/nvim/lua/imokuri/plugin/edit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,4 @@ return {
"AndrewRadev/linediff.vim",
cmd = "Linediff",
},

-- Python: f-string
{
"roobert/f-string-toggle.nvim",
ft = "python",
config = function()
require("f-string-toggle").setup({
key_binding = "<leader>F",
})
end,
},
}
10 changes: 10 additions & 0 deletions config/nvim/lua/imokuri/plugin/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ return {
-- Filetype: python
{ "Vimjas/vim-python-pep8-indent", ft = { "python" } },

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

-- Filetype: csv
{ "mechatroner/rainbow_csv", ft = { "csv" } },

Expand Down

0 comments on commit 30d23fc

Please sign in to comment.