@@ -573,13 +573,13 @@ require('lazy').setup({
573
573
gopls = {},
574
574
pyright = {},
575
575
rust_analyzer = {},
576
+ ts_ls = {},
576
577
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
577
578
--
578
579
-- Some languages (like typescript) have entire language plugins that can be useful:
579
580
-- https://github.com/pmizio/typescript-tools.nvim
580
581
--
581
582
-- But for many setups, the LSP (`tsserver`) will work just fine
582
- -- tsserver = {},
583
583
--
584
584
585
585
lua_ls = {
@@ -596,6 +596,7 @@ require('lazy').setup({
596
596
},
597
597
},
598
598
},
599
+ intelephense = {},
599
600
}
600
601
601
602
-- Ensure the servers and tools above are installed
@@ -649,7 +650,7 @@ require('lazy').setup({
649
650
-- Disable "format_on_save lsp_fallback" for languages that don't
650
651
-- have a well standardized coding style. You can add additional
651
652
-- 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 }
653
654
return {
654
655
timeout_ms = 500 ,
655
656
lsp_fallback = not disable_filetypes [vim .bo [bufnr ].filetype ],
@@ -659,9 +660,9 @@ require('lazy').setup({
659
660
lua = { ' stylua' },
660
661
-- Conform can also run multiple formatters sequentially
661
662
python = { ' isort' , ' black' },
663
+ javascript = { ' prettierd' , ' prettier' , stop_after_first = true },
662
664
--
663
665
-- You can use 'stop_after_first' to run the first available formatter from the list
664
- -- javascript = { 'prettierd', 'prettier', stop_after_first = true },
665
666
},
666
667
},
667
668
},
@@ -793,7 +794,7 @@ require('lazy').setup({
793
794
transparent = true ,
794
795
styles = {
795
796
sidebars = ' transparent' ,
796
- flots = ' transparent' ,
797
+ floats = ' transparent' ,
797
798
},
798
799
},
799
800
init = function ()
@@ -805,13 +806,6 @@ require('lazy').setup({
805
806
-- You can configure highlights by doing something like:
806
807
vim .cmd .hi ' Comment gui=none'
807
808
end ,
808
- opts = {
809
- transparent = true ,
810
- styles = {
811
- sidebars = ' transparent' ,
812
- floats = ' transparent' ,
813
- },
814
- },
815
809
},
816
810
817
811
-- Highlight todo, notes, etc in comments
@@ -894,12 +888,23 @@ require('lazy').setup({
894
888
-- Here are some example plugins that I've included in the Kickstart repository.
895
889
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
896
890
--
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
+ },
903
908
904
909
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
905
910
-- This is the easiest way to modularize your config.
@@ -944,4 +949,3 @@ vim.api.nvim_create_autocmd('BufEnter', {
944
949
end ,
945
950
})
946
951
-- The line beneath this is called `modeline`. See `:help modeline`
947
- -- vim: ts=2 sts=2 sw=2 et
0 commit comments