FIX: Changed naming convention to be the same throughout the presets

file and fixed neovim api for temrinal.

Update: Changed how presets are made to be simpler
This commit is contained in:
DarthMooMancer
2025-05-02 10:46:07 -04:00
parent ff360658e4
commit bbb1e0c24a
2 changed files with 31 additions and 49 deletions
+2 -2
View File
@@ -60,9 +60,9 @@ function M.open_float_terminal(cmd)
vim.api.nvim_set_option_value("cursorline", true, { win = win })
vim.api.nvim_set_option_value("scrolloff", 5, { win = win })
if(M.opts.number == true) then
vim.api.nvim_win_set_option("number", true, { win = win })
vim.api.nvim_set_option_value("number", true, { win = win })
if(M.opts.relativenumber == true) then
vim.api.nvim_win_set_option("relativenumber", true, { win = win })
vim.api.nvim_set_option_value("relativenumber", true, { win = win })
end
end