0bde81a074
removed nvim-gps as nvim-navic or winbar.nvim will be added when v0.8 neovim releases. Removed lsp signature as I was able to emulate showing args with the default signature help() window
35 lines
731 B
Lua
35 lines
731 B
Lua
local present, nvterm = pcall(require, "nvterm")
|
|
|
|
if not present then
|
|
return
|
|
end
|
|
|
|
require "base46.term"
|
|
|
|
local options = {
|
|
terminals = {
|
|
list = {},
|
|
type_opts = {
|
|
float = {
|
|
relative = "editor",
|
|
row = 0.3,
|
|
col = 0.25,
|
|
width = 0.5,
|
|
height = 0.4,
|
|
border = "single",
|
|
},
|
|
horizontal = { location = "rightbelow", split_ratio = 0.3 },
|
|
vertical = { location = "rightbelow", split_ratio = 0.5 },
|
|
},
|
|
},
|
|
behavior = {
|
|
close_on_exit = true,
|
|
auto_insert = true,
|
|
},
|
|
enable_new_mappings = true,
|
|
}
|
|
|
|
options = require("core.utils").load_override(options, "NvChad/nvterm")
|
|
|
|
nvterm.setup(options)
|