Added html and js lsp and changed the line shifting to just 20 rules instead of staying in the middle forever

This commit is contained in:
2023-05-11 21:56:08 +02:00
parent 744f7b8d6e
commit 67c5853235
2 changed files with 3 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ lsp.ensure_installed({
'texlab', -- LaTeX 'texlab', -- LaTeX
'clangd', -- C/C++ 'clangd', -- C/C++
'jedi_language_server', -- Python 'jedi_language_server', -- Python
'html', -- HTML
'tsserver', -- JavaScript
}) })
-- Fix undefined global 'vim' -- Fix undefined global 'vim'

View File

@@ -24,7 +24,7 @@ vim.opt.incsearch = true
vim.opt.termguicolors = true vim.opt.termguicolors = true
-- Scrolling stuff -- Scrolling stuff
vim.opt.scrolloff = 999 vim.opt.scrolloff = 20
vim.opt.signcolumn = "yes" vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@") vim.opt.isfname:append("@-@")