remove autoformat on save
parent
9ac8c17116
commit
1cb0dab7ff
2
init.lua
2
init.lua
|
|
@ -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',
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue