aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/init.lua
diff options
context:
space:
mode:
authorCharles Cabergs <charles.cabergs@colruytgroup.com>2022-04-27 14:28:30 +0200
committerCharles Cabergs <charles.cabergs@colruytgroup.com>2022-04-27 14:28:30 +0200
commita7c757ff4d4b6bbb3f164cd479a600f4cdd1a288 (patch)
tree74bc92b285dede05937386d10f8a7aaff0ea291f /config/nvim/init.lua
parentbcf388658b20ba4d06df539d6befd01557f5bd8a (diff)
downloaddotfiles-a7c757ff4d4b6bbb3f164cd479a600f4cdd1a288.tar.gz
dotfiles-a7c757ff4d4b6bbb3f164cd479a600f4cdd1a288.tar.bz2
dotfiles-a7c757ff4d4b6bbb3f164cd479a600f4cdd1a288.zip
Changing single quote to double quotes in nvim configs
Diffstat (limited to 'config/nvim/init.lua')
-rw-r--r--config/nvim/init.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/config/nvim/init.lua b/config/nvim/init.lua
index 016819a..d046567 100644
--- a/config/nvim/init.lua
+++ b/config/nvim/init.lua
@@ -1,8 +1,8 @@
-require('plugins')
+require("plugins")
-- common
-vim.g.mapleader = ' ' -- set leader key to space
-vim.g.maplocalleader = '-' -- set file local leader key to backslash
+vim.g.mapleader = " " -- set leader key to space
+vim.g.maplocalleader = "-" -- set file local leader key to backslash
vim.opt.compatible = false -- not compatible with vi
vim.opt.number = true -- line number
vim.opt.numberwidth = 1 -- line numbers gutter autowidth
@@ -15,10 +15,10 @@ vim.opt.swapfile = false -- disable swap files
vim.opt.scrolloff = 2 -- line padding when scrolling
vim.opt.textwidth = 0 -- when line wrap occurs
vim.opt.wrapmargin = 0 -- disable auto line wrapping
-vim.opt.clipboard = 'unnamedplus' -- use system clipboard
+vim.opt.clipboard = "unnamedplus" -- use system clipboard
vim.g.c_syntax_for_h = 1 -- .h file use C filetype instead of C++
vim.opt.encoding = "utf-8" -- utf-8 encoding
-vim.opt.shellredir = ">" -- don't inclue stderr when reading a command
+vim.opt.shellredir = ">" -- don"t inclue stderr when reading a command
-- intuitif split opening
vim.opt.splitbelow = true
@@ -44,7 +44,7 @@ vim.opt.showcmd = true -- show current partial command in the bottom r
vim.opt.showmode = false -- dont show current mode (i.e --INSERT--)
-- remove ugly treesitter error highlight
--- require 'nvim-treesitter.highlight'
+-- require "nvim-treesitter.highlight"
-- local hlmap = vim.treesitter.highlighter.hl_map
-- hlmap.error = nil
@@ -72,4 +72,4 @@ vim.api.nvim_create_autocmd(
{ command = "set ft=sql", pattern = "*.sql.j2", group = augroup }
)
-require('mappings')
+require("mappings")