Mercurial > dotfiles
changeset 398:aea0cbb82522
Format config.lua
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 20 Jun 2021 09:55:49 +0200 |
parents | 7086593e6c0d |
children | 59db83251de2 |
files | dot_config/nvim/config.lua |
diffstat | 1 files changed, 16 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/dot_config/nvim/config.lua Sun Jun 20 09:55:39 2021 +0200 +++ b/dot_config/nvim/config.lua Sun Jun 20 09:55:49 2021 +0200 @@ -357,10 +357,22 @@ inoremap { '<c-l>', vim.lsp.buf.signature_help, silent = true } - vim.fn.sign_define("LspDiagnosticsSignError", { texthl = "LspDiagnosticsSignError", linehl="", numhl = "", text = "▎" }) - vim.fn.sign_define("LspDiagnosticsSignWarning", { texthl = "LspDiagnosticsSignWarning", linehl="", numhl = "", text = "▎" }) - vim.fn.sign_define("LspDiagnosticsSignInformation", { texthl = "LspDiagnosticsSignInformation", linehl="", numhl = "", text = "▎" }) - vim.fn.sign_define("LspDiagnosticsSignHint", { texthl = "LspDiagnosticsSignHint", linehl="", numhl = "", text = "▎" }) + vim.fn.sign_define('LspDiagnosticsSignError', + { texthl = 'LspDiagnosticsSignError', linehl = '', numhl = '', text = '▎' }) + vim.fn.sign_define('LspDiagnosticsSignWarning', { + texthl = 'LspDiagnosticsSignWarning', + linehl = '', + numhl = '', + text = '▎', + }) + vim.fn.sign_define('LspDiagnosticsSignInformation', { + texthl = 'LspDiagnosticsSignInformation', + linehl = '', + numhl = '', + text = '▎', + }) + vim.fn.sign_define('LspDiagnosticsSignHint', + { texthl = 'LspDiagnosticsSignHint', linehl = '', numhl = '', text = '▎' }) end vim.lsp.handlers['textDocument/formatting'] = function(err, _, result, _, bufnr)