@@ -681,17 +681,31 @@ require('lazy').setup({
681
681
-- https://github.com/pmizio/typescript-tools.nvim
682
682
--
683
683
-- But for many setups, the LSP (`ts_ls`) will work just fine
684
+
685
+ -- LSPs
684
686
ts_ls = {},
685
- ruff = {},
686
687
csharp_ls = {},
687
- debugpy = {},
688
688
intelephense = {},
689
689
html = {},
690
690
cssls = {},
691
691
docker_compose_language_service = {},
692
692
dockerls = {},
693
+
694
+ -- Formatters
695
+ ruff = {},
696
+ prettierd = {},
697
+ prettier = {},
698
+ pint = {},
699
+
700
+ -- linters
693
701
tombi = {},
694
- --
702
+ [' markdownlint-cli2' ] = {},
703
+ htmlhint = {},
704
+ eslint_d = {},
705
+ phpstan = {},
706
+
707
+ -- debuggers
708
+ debugpy = {},
695
709
696
710
lua_ls = {
697
711
-- cmd = { ... },
@@ -770,7 +784,7 @@ require('lazy').setup({
770
784
return nil
771
785
else
772
786
return {
773
- timeout_ms = 500 ,
787
+ timeout_ms = 5000 ,
774
788
lsp_format = ' fallback' ,
775
789
}
776
790
end
@@ -781,7 +795,17 @@ require('lazy').setup({
781
795
python = { ' ruff_fix' , ' ruff_format' , ' ruff_organize_imports' },
782
796
783
797
-- You can use 'stop_after_first' to run the first available formatter from the list
784
- -- javascript = { "prettierd", "prettier", stop_after_first = true },
798
+ javascript = { ' prettierd' , ' prettier' , stop_after_first = true },
799
+ javascriptreact = { ' prettierd' , ' prettier' , stop_after_first = true },
800
+ typescript = { ' prettierd' , ' prettier' , stop_after_first = true },
801
+ typescriptreact = { ' prettierd' , ' prettier' , stop_after_first = true },
802
+ css = { ' prettierd' , ' prettier' , stop_after_first = true },
803
+ html = { ' prettierd' , ' prettier' , stop_after_first = true },
804
+ json = { ' prettierd' , ' prettier' , stop_after_first = true },
805
+ markdown = { ' prettierd' , ' prettier' , stop_after_first = true },
806
+ yaml = { ' prettierd' , ' prettier' , stop_after_first = true },
807
+ graphql = { ' prettierd' , ' prettier' , stop_after_first = true },
808
+ php = { ' pint' }, -- https://laravel.com/docs/12.x/pint
785
809
},
786
810
},
787
811
},
@@ -958,6 +982,7 @@ require('lazy').setup({
958
982
' c' ,
959
983
' diff' ,
960
984
' html' ,
985
+ ' css' ,
961
986
' lua' ,
962
987
' luadoc' ,
963
988
' markdown' ,
@@ -969,6 +994,17 @@ require('lazy').setup({
969
994
' c_sharp' ,
970
995
' javascript' ,
971
996
' php' ,
997
+ ' php_only' ,
998
+ ' phpdoc' ,
999
+ ' json' ,
1000
+ ' json5' ,
1001
+ ' razor' ,
1002
+ ' typescript' ,
1003
+ ' vue' ,
1004
+ ' xml' ,
1005
+ ' csv' ,
1006
+ ' dockerfile' ,
1007
+ ' powershell' ,
972
1008
},
973
1009
-- Autoinstall languages that are not installed
974
1010
auto_install = true ,
@@ -977,9 +1013,9 @@ require('lazy').setup({
977
1013
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
978
1014
-- If you are experiencing weird indenting issues, add the language to
979
1015
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
980
- additional_vim_regex_highlighting = { ' ruby' },
1016
+ additional_vim_regex_highlighting = { ' ruby' , ' php ' },
981
1017
},
982
- indent = { enable = true , disable = { ' ruby' } },
1018
+ indent = { enable = true , disable = { ' ruby' , ' php ' } },
983
1019
},
984
1020
-- There are additional nvim-treesitter modules that you can use to interact
985
1021
-- with nvim-treesitter. You should go explore a few and see what interests you:
@@ -1000,8 +1036,8 @@ require('lazy').setup({
1000
1036
--
1001
1037
require ' kickstart.plugins.debug' ,
1002
1038
require ' kickstart.plugins.indent_line' ,
1003
- -- require 'kickstart.plugins.lint',
1004
- -- require 'kickstart.plugins.autopairs',
1039
+ require ' kickstart.plugins.lint' ,
1040
+ require ' kickstart.plugins.autopairs' ,
1005
1041
require ' kickstart.plugins.neo-tree' ,
1006
1042
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
1007
1043
0 commit comments