|
|
|
@@ -1,8 +1,8 @@
|
|
|
|
|
diff --git a/init.lua b/init.lua
|
|
|
|
|
index 5257113..85e97a5 100644
|
|
|
|
|
index a7667dd..6bf8654 100644
|
|
|
|
|
--- a/init.lua
|
|
|
|
|
+++ b/init.lua
|
|
|
|
|
@@ -219,7 +219,7 @@ require('lazy').setup({
|
|
|
|
|
@@ -227,7 +227,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
|
|
|
|
@@ -11,7 +11,7 @@ index 5257113..85e97a5 100644
|
|
|
|
|
}, {})
|
|
|
|
|
|
|
|
|
|
-- [[ Setting options ]]
|
|
|
|
|
@@ -229,11 +229,12 @@ require('lazy').setup({
|
|
|
|
|
@@ -237,11 +237,12 @@ require('lazy').setup({
|
|
|
|
|
-- Set highlight on search
|
|
|
|
|
vim.o.hlsearch = false
|
|
|
|
|
|
|
|
|
@@ -27,7 +27,7 @@ index 5257113..85e97a5 100644
|
|
|
|
|
|
|
|
|
|
-- Sync clipboard between OS and Neovim.
|
|
|
|
|
-- Remove this option if you want your OS clipboard to remain independent.
|
|
|
|
|
@@ -263,6 +264,14 @@ vim.o.completeopt = 'menuone,noselect'
|
|
|
|
|
@@ -271,6 +272,14 @@ vim.o.completeopt = 'menuone,noselect'
|
|
|
|
|
-- NOTE: You should make sure your terminal supports this
|
|
|
|
|
vim.o.termguicolors = true
|
|
|
|
|
|
|
|
|
@@ -42,40 +42,40 @@ index 5257113..85e97a5 100644
|
|
|
|
|
-- [[ Basic Keymaps ]]
|
|
|
|
|
|
|
|
|
|
-- Keymaps for better default experience
|
|
|
|
|
@@ -323,11 +332,29 @@ vim.keymap.set('n', '<leader>sr', require('telescope.builtin').resume, { desc =
|
|
|
|
|
-- See `:help nvim-treesitter`
|
|
|
|
|
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' },
|
|
|
|
|
@@ -333,11 +342,29 @@ 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 = {
|
|
|
|
|
+ 'css',
|
|
|
|
|
+ 'dockerfile',
|
|
|
|
|
+ 'eex',
|
|
|
|
|
+ 'elixir',
|
|
|
|
|
+ 'erlang',
|
|
|
|
|
+ 'go',
|
|
|
|
|
+ 'heex',
|
|
|
|
|
+ 'html',
|
|
|
|
|
+ 'http',
|
|
|
|
|
+ 'javascript',
|
|
|
|
|
+ 'json',
|
|
|
|
|
+ 'lua',
|
|
|
|
|
+ 'markdown',
|
|
|
|
|
+ 'python',
|
|
|
|
|
+ 'sql',
|
|
|
|
|
+ 'tsx',
|
|
|
|
|
+ 'typescript',
|
|
|
|
|
+ 'vim',
|
|
|
|
|
+ 'vimdoc'
|
|
|
|
|
+ },
|
|
|
|
|
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
|
|
|
|
auto_install = false,
|
|
|
|
|
+ ensure_installed = {
|
|
|
|
|
+ 'css',
|
|
|
|
|
+ 'dockerfile',
|
|
|
|
|
+ 'eex',
|
|
|
|
|
+ 'elixir',
|
|
|
|
|
+ 'erlang',
|
|
|
|
|
+ 'go',
|
|
|
|
|
+ 'heex',
|
|
|
|
|
+ 'html',
|
|
|
|
|
+ 'http',
|
|
|
|
|
+ 'javascript',
|
|
|
|
|
+ 'json',
|
|
|
|
|
+ 'lua',
|
|
|
|
|
+ 'markdown',
|
|
|
|
|
+ 'python',
|
|
|
|
|
+ 'sql',
|
|
|
|
|
+ 'tsx',
|
|
|
|
|
+ 'typescript',
|
|
|
|
|
+ 'vim',
|
|
|
|
|
+ 'vimdoc'
|
|
|
|
|
+ },
|
|
|
|
|
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
|
|
|
|
auto_install = false,
|
|
|
|
|
-
|
|
|
|
|
highlight = { enable = true },
|
|
|
|
|
indent = { enable = true },
|
|
|
|
|
incremental_selection = {
|
|
|
|
|
@@ -456,19 +483,24 @@ require('which-key').register({
|
|
|
|
|
highlight = { enable = true },
|
|
|
|
|
indent = { enable = true },
|
|
|
|
|
incremental_selection = {
|
|
|
|
|
@@ -472,19 +499,24 @@ require('mason-lspconfig').setup()
|
|
|
|
|
-- If you want to override the default filetypes that your language server will attach to you can
|
|
|
|
|
-- define the property 'filetypes' to the map in question.
|
|
|
|
|
local servers = {
|
|
|
|
|