remove autoformat on save

main
Mathias Rothenhaeusler 2025-11-22 10:30:22 +01:00
parent 9ac8c17116
commit 1cb0dab7ff
2 changed files with 9 additions and 1 deletions

View File

@ -197,7 +197,7 @@ require('lazy').setup({
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
-- These are some example plugins that I've included in the kickstart repository.
-- Uncomment any of the lines below to enable them.
require 'kickstart.plugins.autoformat',
-- require 'kickstart.plugins.autoformat',
require 'kickstart.plugins.debug',
require 'kickstart.plugins.filetree',

View File

@ -177,6 +177,14 @@ elseif vim.loop.fs_stat(phpcs_config) then
vim.g.nvim_phpcs_config_phpcs_standard = phpcs_config
end
vim.lsp.config("lua_ls", {
settings = {
Lua = {
diagnostics = {
globals = { "vim" } }
}
}
})
-- === ENABLE: tell Neovim to autostart these configs lazily (filetype + root_dir)
-- call this early in your init (so FileType autocommands are installed before opening files)
local enabled_servers = {