update
This commit is contained in:
parent
4829342233
commit
44dee7e2cb
1 changed files with 1 additions and 18 deletions
19
init.lua
19
init.lua
|
|
@ -16,6 +16,7 @@ end
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
-- Basic settings
|
-- Basic settings
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
vim.opt.exrc = true
|
||||||
vim.opt.autoread = true
|
vim.opt.autoread = true
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
@ -463,24 +464,6 @@ require('lspconfig').ruff.setup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
require 'lspconfig'.gdscript.setup {}
|
require 'lspconfig'.gdscript.setup {}
|
||||||
require 'lspconfig'.rust_analyzer.setup({
|
|
||||||
settings = {
|
|
||||||
['rust-analyzer'] = {
|
|
||||||
-- cargo = {
|
|
||||||
-- target = "xtensa-esp32-none-elf",
|
|
||||||
-- extraEnv = {
|
|
||||||
-- RUSTUP_TOOLCHAIN = "esp",
|
|
||||||
-- }
|
|
||||||
-- },
|
|
||||||
-- check = {
|
|
||||||
-- allTargets = false,
|
|
||||||
-- extraEnv = {
|
|
||||||
-- RUSTUP_TOOLCHAIN = "esp"
|
|
||||||
-- }
|
|
||||||
-- }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
-- Debugging
|
-- Debugging
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue