fix: stuff!
This commit is contained in:
@ -70,13 +70,6 @@ end
|
|||||||
-- Save --
|
-- Save --
|
||||||
vim.keymap.set("n", "<C-s>", "<Cmd>w<CR>")
|
vim.keymap.set("n", "<C-s>", "<Cmd>w<CR>")
|
||||||
|
|
||||||
-- Lint on save --
|
|
||||||
vim.api.nvim_create_autocmd({ "BufWritePost" }, {
|
|
||||||
callback = function()
|
|
||||||
require("lint").try_lint()
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Split navigation --
|
-- Split navigation --
|
||||||
vim.keymap.set("n", "<C-h>", "<C-w>h")
|
vim.keymap.set("n", "<C-h>", "<C-w>h")
|
||||||
vim.keymap.set("n", "<C-j>", "<C-w>j")
|
vim.keymap.set("n", "<C-j>", "<C-w>j")
|
||||||
|
@ -15,33 +15,8 @@ return {
|
|||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"mfussenegger/nvim-lint",
|
|
||||||
config = function()
|
|
||||||
--[[
|
|
||||||
require("lint").linters_by_ft = {
|
|
||||||
javascript = {
|
|
||||||
"eslint_d",
|
|
||||||
},
|
|
||||||
typescript = {
|
|
||||||
"eslint_d",
|
|
||||||
},
|
|
||||||
javascriptreact = {
|
|
||||||
"eslint_d",
|
|
||||||
},
|
|
||||||
typescriptreact = {
|
|
||||||
"eslint_d",
|
|
||||||
},
|
|
||||||
}
|
|
||||||
]]
|
|
||||||
--
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"numToStr/Comment.nvim",
|
"numToStr/Comment.nvim",
|
||||||
opts = {
|
|
||||||
-- add any options here
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{ "akinsho/toggleterm.nvim", version = "*", config = true },
|
{ "akinsho/toggleterm.nvim", version = "*", config = true },
|
||||||
{
|
{
|
||||||
@ -59,7 +34,6 @@ return {
|
|||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
config = true,
|
config = true,
|
||||||
},
|
},
|
||||||
{ "Everblush/nvim", name = "everblush" },
|
|
||||||
{
|
{
|
||||||
"sainnhe/gruvbox-material",
|
"sainnhe/gruvbox-material",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
@ -101,7 +75,6 @@ return {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
tag = "0.1.x",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
config = function()
|
config = function()
|
||||||
-- require("telescope").load_extension("fzf")
|
-- require("telescope").load_extension("fzf")
|
||||||
@ -209,6 +182,9 @@ return {
|
|||||||
lsp.svelte.setup({
|
lsp.svelte.setup({
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
|
lsp.biome.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user