Update options.lua

pull/196/head
REmerald 2 years ago committed by GitHub
parent adbc628599
commit f32f178bb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,6 +9,7 @@ local options = {
updatetime = 300, -- faster completion (4000ms default) updatetime = 300, -- faster completion (4000ms default)
writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
clipboard = "unnamedplus", -- use system clipboard clipboard = "unnamedplus", -- use system clipboard
mouse = "a", -- allow the mouse to be used in all modes
-- UI -- UI
guifont = "monospace:h17", -- the font used in graphical neovim applications guifont = "monospace:h17", -- the font used in graphical neovim applications
cmdheight = 2, -- more space in the neovim command line for displaying messages cmdheight = 2, -- more space in the neovim command line for displaying messages
@ -41,7 +42,6 @@ local options = {
vim.opt.shortmess:append("c") -- don't give Ctrl-P,Ctrl-N messages vim.opt.shortmess:append("c") -- don't give Ctrl-P,Ctrl-N messages
vim.opt.runtimepath:remove("/usr/share/vim/vimfiles") -- to separate vim plugins from neovim on Arch vim.opt.runtimepath:remove("/usr/share/vim/vimfiles") -- to separate vim plugins from neovim on Arch
vim.opt.mouse:append("a") -- allow the mouse to be used in all modes
vim.opt.iskeyword:remove("-") -- threat a-word, word- as one w vim.opt.iskeyword:remove("-") -- threat a-word, word- as one w
vim.opt.formatoptions:remove("cro") -- see :help fo-table vim.opt.formatoptions:remove("cro") -- see :help fo-table

Loading…
Cancel
Save