@@ -573,13 +573,13 @@ require('lazy').setup({
573573 gopls = {},
574574 pyright = {},
575575 rust_analyzer = {},
576+ ts_ls = {},
576577 -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
577578 --
578579 -- Some languages (like typescript) have entire language plugins that can be useful:
579580 -- https://github.com/pmizio/typescript-tools.nvim
580581 --
581582 -- But for many setups, the LSP (`tsserver`) will work just fine
582- -- tsserver = {},
583583 --
584584
585585 lua_ls = {
@@ -596,6 +596,7 @@ require('lazy').setup({
596596 },
597597 },
598598 },
599+ intelephense = {},
599600 }
600601
601602 -- Ensure the servers and tools above are installed
@@ -649,7 +650,7 @@ require('lazy').setup({
649650 -- Disable "format_on_save lsp_fallback" for languages that don't
650651 -- have a well standardized coding style. You can add additional
651652 -- languages here or re-enable it for the disabled ones.
652- local disable_filetypes = { c = true , cpp = true }
653+ local disable_filetypes = { c = true , cpp = true , php = true }
653654 return {
654655 timeout_ms = 500 ,
655656 lsp_fallback = not disable_filetypes [vim .bo [bufnr ].filetype ],
@@ -659,9 +660,9 @@ require('lazy').setup({
659660 lua = { ' stylua' },
660661 -- Conform can also run multiple formatters sequentially
661662 python = { ' isort' , ' black' },
663+ javascript = { ' prettierd' , ' prettier' , stop_after_first = true },
662664 --
663665 -- You can use 'stop_after_first' to run the first available formatter from the list
664- -- javascript = { 'prettierd', 'prettier', stop_after_first = true },
665666 },
666667 },
667668 },
@@ -793,7 +794,7 @@ require('lazy').setup({
793794 transparent = true ,
794795 styles = {
795796 sidebars = ' transparent' ,
796- flots = ' transparent' ,
797+ floats = ' transparent' ,
797798 },
798799 },
799800 init = function ()
@@ -805,13 +806,6 @@ require('lazy').setup({
805806 -- You can configure highlights by doing something like:
806807 vim .cmd .hi ' Comment gui=none'
807808 end ,
808- opts = {
809- transparent = true ,
810- styles = {
811- sidebars = ' transparent' ,
812- floats = ' transparent' ,
813- },
814- },
815809 },
816810
817811 -- Highlight todo, notes, etc in comments
@@ -894,12 +888,23 @@ require('lazy').setup({
894888 -- Here are some example plugins that I've included in the Kickstart repository.
895889 -- Uncomment any of the lines below to enable them (you will need to restart nvim).
896890 --
897- -- require 'kickstart.plugins.debug',
898- -- require 'kickstart.plugins.indent_line',
899- -- require 'kickstart.plugins.lint',
900- -- require 'kickstart.plugins.autopairs',
901- -- require 'kickstart.plugins.neo-tree',
902- -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
891+ require ' kickstart.plugins.debug' ,
892+ require ' kickstart.plugins.indent_line' ,
893+ require ' kickstart.plugins.lint' ,
894+ require ' kickstart.plugins.autopairs' ,
895+ require ' kickstart.plugins.neo-tree' ,
896+ require ' kickstart.plugins.gitsigns' , -- adds gitsigns recommend keymaps
897+
898+ -- My packages
899+ ' mfussenegger/nvim-dap' ,
900+ {
901+ ' mfussenegger/nvim-dap-python' ,
902+ config = function ()
903+ require (' dap-python' ).setup ' python3'
904+ -- If using the above, then `python3 -m debugpy --version`
905+ -- must work in the shell
906+ end ,
907+ },
903908
904909 -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
905910 -- This is the easiest way to modularize your config.
@@ -944,4 +949,3 @@ vim.api.nvim_create_autocmd('BufEnter', {
944949 end ,
945950})
946951-- The line beneath this is called `modeline`. See `:help modeline`
947- -- vim: ts=2 sts=2 sw=2 et
0 commit comments