formatted code
This commit is contained in:
parent
da382b5d61
commit
4316ac84df
15 changed files with 227 additions and 230 deletions
|
|
@ -25,7 +25,6 @@ vim.keymap.set('n', '<leader>u', '20k')
|
|||
vim.keymap.set('v', '<leader>n', '20j')
|
||||
vim.keymap.set('v', '<leader>u', '20k')
|
||||
|
||||
|
||||
-- Alternate way to save
|
||||
vim.cmd('nnoremap <C-s> :w!<CR>')
|
||||
vim.cmd('inoremap <C-s> <ESC> :w!<CR>')
|
||||
|
|
@ -33,7 +32,6 @@ vim.cmd('inoremap <C-s> <ESC> :w!<CR>')
|
|||
-- Alternate way to quit
|
||||
vim.cmd('nnoremap <S-c> :q!<CR>')
|
||||
|
||||
|
||||
-- ================= File management ================= --
|
||||
|
||||
-- swapfile has global & local config, eventhough help says otherwise
|
||||
|
|
@ -103,8 +101,8 @@ vim.o.hidden = true
|
|||
vim.o.clipboard = "unnamedplus"
|
||||
|
||||
-- diagnostic symbols
|
||||
local signs = { Error = "", Warn = "", Hint = "", Info = "" }
|
||||
local signs = {Error = "", Warn = "", Hint = "", Info = ""}
|
||||
for type, icon in pairs(signs) do
|
||||
local hl = "DiagnosticSign" .. type
|
||||
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
|
||||
local hl = "DiagnosticSign" .. type
|
||||
vim.fn.sign_define(hl, {text = icon, texthl = hl, numhl = hl})
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue