@@ -728,47 +728,6 @@ require('lazy').setup({
728728 end ,
729729 },
730730
731- { -- Autoformat
732- ' stevearc/conform.nvim' ,
733- event = { ' BufWritePre' },
734- cmd = { ' ConformInfo' },
735- keys = {
736- {
737- ' <leader>f' ,
738- function ()
739- require (' conform' ).format { async = true , lsp_format = ' fallback' }
740- end ,
741- mode = ' ' ,
742- desc = ' [F]ormat buffer' ,
743- },
744- },
745- opts = {
746- notify_on_error = false ,
747- format_on_save = function (bufnr )
748- -- Disable "format_on_save lsp_fallback" for languages that don't
749- -- have a well standardized coding style. You can add additional
750- -- languages here or re-enable it for the disabled ones.
751- local disable_filetypes = { c = true , cpp = true }
752- if disable_filetypes [vim .bo [bufnr ].filetype ] then
753- return nil
754- else
755- return {
756- timeout_ms = 500 ,
757- lsp_format = ' fallback' ,
758- }
759- end
760- end ,
761- formatters_by_ft = {
762- lua = { ' stylua' },
763- -- Conform can also run multiple formatters sequentially
764- -- python = { "isort", "black" },
765- --
766- -- You can use 'stop_after_first' to run the first available formatter from the list
767- -- javascript = { "prettierd", "prettier", stop_after_first = true },
768- },
769- },
770- },
771-
772731 { -- Autocompletion
773732 ' saghen/blink.cmp' ,
774733 event = ' VimEnter' ,
@@ -965,18 +924,18 @@ require('lazy').setup({
965924 -- Here are some example plugins that I've included in the Kickstart repository.
966925 -- Uncomment any of the lines below to enable them (you will need to restart nvim).
967926 --
968- -- require 'kickstart.plugins.debug',
927+ require ' kickstart.plugins.debug' ,
969928 -- require 'kickstart.plugins.indent_line',
970929 -- require 'kickstart.plugins.lint',
971930 -- require 'kickstart.plugins.autopairs',
972- -- require 'kickstart.plugins.neo-tree',
931+ require ' kickstart.plugins.neo-tree' ,
973932 -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
974933
975934 -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
976935 -- This is the easiest way to modularize your config.
977936 --
978937 -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
979- -- { import = 'custom.plugins' },
938+ { import = ' custom.plugins' },
980939 --
981940 -- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
982941 -- Or use telescope!
0 commit comments