Initial configuration

- LSP
- Relative Numbers

**Plugins**
- Conform (Formatter)
- GitHub Copilot
This commit is contained in:
Gerardo Torres 2024-01-02 11:42:43 -04:00
parent 3824342d10
commit a9739a6862
4 changed files with 72 additions and 2 deletions

View file

@ -265,7 +265,7 @@ require('lazy').setup({
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
--
-- For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
-- { import = 'custom.plugins' },
{ import = 'custom.plugins' },
}, {})
-- [[ Setting options ]]
@ -309,6 +309,9 @@ vim.o.completeopt = 'menuone,noselect'
-- NOTE: You should make sure your terminal supports this
vim.o.termguicolors = true
-- Set relative numbers
vim.o.relativenumber = true
-- [[ Basic Keymaps ]]
-- Keymaps for better default experience
@ -422,7 +425,7 @@ vim.keymap.set('n', '<leader>sr', require('telescope.builtin').resume, { desc =
vim.defer_fn(function()
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash' },
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash', 'sql' },
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,