diff --git a/init.lua b/init.lua index ea61502..2844725 100644 --- a/init.lua +++ b/init.lua @@ -1,7 +1,5 @@ vim.opt.syntax = 'on' -vim.cmd([[ -filetype plugin indent on -]]) +vim.cmd("filetype plugin indent on") vim.opt.number = true -- set relativenumber vim.opt.relativenumber = false @@ -21,14 +19,15 @@ vim.opt.sw = 4 --set showmatch vim.opt.hlsearch = true --incsearch -vim.cmd([[highlight ColorColumn ctermbg=9]]) +vim.cmd("highlight ColorColumn ctermbg=9") +vim.cmd("autocmd FileType yaml,yaml.ansible setlocal indentkeys-=0#") -- don't use NeoVim's thin cursor vim.opt.guicursor = "" require("colorschemes") -vim.cmd([[hi MatchParen cterm=bold,underline gui=bold,underline]]) +vim.cmd("hi MatchParen cterm=bold,underline gui=bold,underline") vim.api.nvim_set_keymap("n", "", "", { noremap = true }) vim.g.mapleader = " "