irongit

filetype configs with named files. has telescope

telescope extension is awesome

huncholanehuncholaneauthored
parent b4209f6commit 8c677c270f0c54c7b79df5cb98fd4c38a3b7c2c9Browse files

1 file changed, +1 -1

+1-1lua/ftconfig/telescope/_extensions/ftconfig.lua → lua/telescope/_extensions/ftconfig.lua
@@ -49,7 +49,7 @@ local function filetype_picker(opts)
4949 actions.close(prompt_bufnr)
5050 local selection = action_state.get_selected_entry()
5151 if selection then
52- require("ftconfig").edit_filetype(selection[1]:sub(3, -1))
52+ require("ftconfig").edit_filetype(selection.value)
5353 end
5454 end)
5555 return true