feat(jedi.lua): enable call signatures in Jedi completion popup and configure Jedi to use spaces instead of tabs for indentation

feat(supertab.lua): add Supertab plugin and configure it to be loaded after Absolute configuration
This commit is contained in:
David Ibia
2024-01-05 23:38:40 +01:00
parent 348d2904d6
commit 159b0e0b68
4 changed files with 15 additions and 7 deletions

View File

@@ -1,5 +1,7 @@
vim.g["jedi#popup_on_dot"] = 1
vim.g["jedi#use_tabs_not_buffers"] = 0
vim.g["jedi#popup_select_first"] = 0
vim.g["jedi#show_call_signatures"] = "2"
-- Keybindings
@@ -12,4 +14,3 @@ vim.g["jedi#usages_command"] = "<leader>n"
vim.g["jedi#completions_command"] = "<C-Space>"
vim.g["jedi#rename_command"] = "<leader>rn"
vim.g["jedi#rename_command_keep_name"] = "" -- "<leader>R"

View File

View File

@@ -0,0 +1,6 @@
return {
"ervandew/supertab",
config = function()
require("absolute.after.supertab")
end
}