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:
1 parent
ff360658e4
commit
bbb1e0c24a
2 files changed
+31
-49
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user