@@ -607,6 +607,8 @@ require('lazy').setup({
607607 local ensure_installed = vim .tbl_keys (servers or {})
608608 vim .list_extend (ensure_installed , {
609609 ' stylua' , -- Used to format Lua code
610+ ' tsserver' ,
611+ ' lua_ls' ,
610612 })
611613 require (' mason-tool-installer' ).setup { ensure_installed = ensure_installed }
612614
@@ -657,7 +659,8 @@ require('lazy').setup({
657659 --
658660 -- You can use a sub-list to tell conform to run *until* a formatter
659661 -- is found.
660- -- javascript = { { "prettierd", "prettier" } },
662+ javascript = { { ' prettierd' , ' prettier' } },
663+ typescript = { { ' prettierd' , ' prettier' } },
661664 },
662665 },
663666 },
@@ -666,6 +669,10 @@ require('lazy').setup({
666669 ' hrsh7th/nvim-cmp' ,
667670 event = ' InsertEnter' ,
668671 dependencies = {
672+ ' L3MON4D3/LuaSnip' ,
673+ ' saadparwaiz1/cmp_luasnip' ,
674+ ' hrsh7th/cmp-nvim-lsp' ,
675+ ' hrsh7th/cmp-path' ,
669676 -- Snippet Engine & its associated nvim-cmp source
670677 {
671678 ' L3MON4D3/LuaSnip' ,
@@ -835,7 +842,21 @@ require('lazy').setup({
835842 ' nvim-treesitter/nvim-treesitter' ,
836843 build = ' :TSUpdate' ,
837844 opts = {
838- ensure_installed = { ' bash' , ' c' , ' diff' , ' html' , ' lua' , ' luadoc' , ' markdown' , ' vim' , ' vimdoc' },
845+ ensure_installed = {
846+ ' bash' ,
847+ ' c' ,
848+ ' diff' ,
849+ ' html' ,
850+ ' javascript' ,
851+ ' lua' ,
852+ ' luadoc' ,
853+ ' markdown' ,
854+ ' tsx' ,
855+ ' typescript' ,
856+ ' vim' ,
857+ ' vimdoc' ,
858+ ' yaml' ,
859+ },
839860 -- Autoinstall languages that are not installed
840861 auto_install = true ,
841862 highlight = {
@@ -874,18 +895,18 @@ require('lazy').setup({
874895 -- Uncomment any of the lines below to enable them (you will need to restart nvim).
875896 --
876897 -- require 'kickstart.plugins.debug',
877- -- require 'kickstart.plugins.indent_line',
878- -- require 'kickstart.plugins.lint',
879- -- require 'kickstart.plugins.autopairs',
880- -- require 'kickstart.plugins.neo-tree',
898+ require ' kickstart.plugins.indent_line' ,
899+ require ' kickstart.plugins.lint' ,
900+ require ' kickstart.plugins.autopairs' ,
901+ require ' kickstart.plugins.neo-tree' ,
881902 -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
882903
883904 -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
884905 -- This is the easiest way to modularize your config.
885906 --
886907 -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
887908 -- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
888- -- { import = 'custom.plugins' },
909+ { import = ' custom.plugins' },
889910}, {
890911 ui = {
891912 -- If you are using a Nerd Font: set icons to an empty table which will use the
0 commit comments