feat(config): nvim
This commit is contained in:
parent
ab93bfa16d
commit
3fa491d7a4
10 changed files with 291 additions and 0 deletions
22
config/nvim/lua/options.lua
Normal file
22
config/nvim/lua/options.lua
Normal file
|
@ -0,0 +1,22 @@
|
|||
vim.opt.completeopt = {'menu', 'menuone', 'noselect'}
|
||||
|
||||
vim.opt.tabstop = 4 -- number of visual spaces per TAB
|
||||
vim.opt.softtabstop = 4 -- number of spacesin tab when editing
|
||||
vim.opt.shiftwidth = 4 -- insert 4 spaces on a tab
|
||||
vim.opt.expandtab = true -- tabs are spaces, mainly because of python
|
||||
|
||||
vim.opt.number = true -- show absolute number
|
||||
vim.opt.relativenumber = true -- add numbers to each line on the left side
|
||||
vim.opt.cursorline = true -- highlight cursor line underneath the cursor horizontally
|
||||
vim.opt.splitbelow = true -- open new vertical split bottom
|
||||
vim.opt.splitright = true -- open new horizontal splits right
|
||||
|
||||
vim.opt.incsearch = true -- search as characters are entered
|
||||
vim.opt.ignorecase = true -- ignore case in searches by default
|
||||
vim.opt.smartcase = true -- but make it case sensitive if an uppercase is entered
|
||||
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
heex = 'eelixir'
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue