|
@@ -1,7 +1,7 @@
|
|
|
vim.cmd('set iskeyword+=-') -- treat dash separated words as a word text object"
|
|
|
vim.cmd('set shortmess+=c') -- Don't pass messages to |ins-completion-menu|.
|
|
|
-vim.o.hidden = true -- Required to keep multiple buffers open multiple buffers
|
|
|
-vim.wo.wrap = false -- Display long lines as just one line
|
|
|
+vim.o.hidden = O.hidden_files -- Required to keep multiple buffers open multiple buffers
|
|
|
+vim.wo.wrap = O.wrap_lines -- Display long lines as just one line
|
|
|
vim.cmd('set whichwrap+=<,>,[,],h,l') -- move to next line with theses keys
|
|
|
vim.cmd('syntax on') -- move to next line with theses keys
|
|
|
vim.o.pumheight = 10 -- Makes popup menu smaller
|
|
@@ -18,7 +18,7 @@ vim.cmd('set ts=4') -- Insert 2 spaces for a tab
|
|
|
vim.cmd('set sw=4') -- Change the number of space characters inserted for indentation
|
|
|
vim.bo.expandtab = true -- Converts tabs to spaces
|
|
|
vim.bo.smartindent = true -- Makes indenting smart
|
|
|
-vim.wo.number = true -- set numbered lines
|
|
|
+vim.wo.number = O.number -- set numbered lines
|
|
|
vim.wo.relativenumber = O.relative_number -- set relative number
|
|
|
vim.wo.cursorline = true -- Enable highlighting of the current line
|
|
|
vim.o.showtabline = 2 -- Always show tabs
|