From 096cc56051908610ba1ff3637a125b9b177d055e Mon Sep 17 00:00:00 2001 From: Lee Marlow Date: Mon, 28 Jun 2021 16:02:19 -0600 Subject: Allow setting ignorecase and smartcase from lvi-config.lua (#545) --- lua/default-config.lua | 2 ++ lua/settings.lua | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/default-config.lua b/lua/default-config.lua index 92d19fdf..a2ac9fbf 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -15,6 +15,8 @@ O = { timeoutlen = 100, nvim_tree_disable_netrw = 0, extras = false, + ignore_case = true, + smart_case = true, -- @usage pass a table with your desired languages treesitter = { diff --git a/lua/settings.lua b/lua/settings.lua index 4e47a0ca..85682cb2 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -46,4 +46,5 @@ vim.cmd('filetype plugin on') -- filetype detection vim.o.guifont = "FiraCode Nerd Font:h17" -- vim.o.guifont = "JetBrains\\ Mono\\ Regular\\ Nerd\\ Font\\ Complete" - +vim.o.ignorecase = O.ignore_case +vim.o.smartcase = O.smart_case -- cgit v1.2.3