From 35e72420384bba4b4ec2ce1eccad7b05e3155fdf Mon Sep 17 00:00:00 2001 From: fiplox Date: Tue, 21 Mar 2023 07:15:59 +0100 Subject: [PATCH] feat: use mouse in normal, c syntax for h, disable smartindent --- lua/config/settings.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/config/settings.lua b/lua/config/settings.lua index 3403f9b..c5bfb37 100644 --- a/lua/config/settings.lua +++ b/lua/config/settings.lua @@ -13,6 +13,7 @@ g.netrw_banner = 0 g.netrw_list_hide = '^\\..*' g.mapleader = ' ' g.tex_flavor = 'latex' +g.c_syntax_for_h = true -- }}} -- Opts {{{ -- opt.formatoptions = "" @@ -21,7 +22,7 @@ opt.wildoptions = 'tagfile' opt.termguicolors = true opt.guifont = 'JetBrainsMono Nerd Font' opt.guicursor = 'n-v-c-sm:hor20,i-ci-ve:ver20,r-cr-o:Block' -opt.mouse = 'v' +opt.mouse = 'nv' opt.path = '.,,**h' opt.pumheight = 10 opt.fileencoding = 'utf-8' @@ -29,7 +30,7 @@ opt.splitbelow = true opt.splitright = true -- opt.ts = 4 -- opt.sw = 4 -opt.smartindent = true +opt.smartindent = false --opt.expandtab " Converts tabs to spaces opt.showmode = false opt.undofile = true