ts extra tooling / messing with autocomplete (it was alacritty fault)

This commit is contained in:
Goldyr 2024-03-07 15:53:05 -03:00
parent 79c75bcf3d
commit 7b599595c4
2 changed files with 66 additions and 9 deletions

View file

@ -160,8 +160,10 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 15
-- Tabstop 8 by default, 4 looks better in my opinion
vim.opt.tabstop = 4
-- Tabstop in any other number that is not 8 makes documents look weird, will try with using other opts
vim.opt.tabstop = 8
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`
@ -329,7 +331,7 @@ require('lazy').setup {
-- Useful for getting pretty icons, but requires special font.
-- If you already have a Nerd Font, or terminal set up with fallback fonts
-- you can enable this
-- { 'nvim-tree/nvim-web-devicons' }
{ 'nvim-tree/nvim-web-devicons' },
},
config = function()
-- Telescope is a fuzzy finder that comes with a lot of different things that
@ -555,7 +557,7 @@ require('lazy').setup {
-- https://github.com/pmizio/typescript-tools.nvim
--
-- But for many setups, the LSP (`tsserver`) will work just fine
-- tsserver = {},
tsserver = {},
--
lua_ls = {
@ -795,7 +797,7 @@ require('lazy').setup {
---@diagnostic disable-next-line: missing-fields
require('nvim-treesitter.configs').setup {
ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc' },
ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc', 'javascript', 'typescript' },
-- Autoinstall languages that are not installed
auto_install = true,
highlight = { enable = true },