new plugins for nvim hahaha

main
Ayush Mukherjee 1 year ago
parent 843c686b6e
commit 1e28385970

@ -49,6 +49,9 @@ require("packer").startup(function()
-- indent lines
use("lukas-reineke/indent-blankline.nvim")
-- QOL
use 'm4xshen/autoclose.nvim'
end)
require("user.basics")
@ -101,14 +104,11 @@ configs.setup({
vim.opt.list = true
vim.opt.listchars:append("space:⋅")
vim.opt.listchars:append("eol:↴")
---require("ibl").setup({
--- show_end_of_line = true,
--- show_current_context = true,
--- show_current_context_start = true,
---})
require("ibl").setup()
require("autoclose").setup()
nmap("<C-T>", "<cmd>TablineTabNew<cr>")
nmap("<C-L>", "<cmd>TablineBufferNext<cr>")
nmap("<C-H>", "<cmd>TablineBufferPrevious<cr>")

@ -80,6 +80,10 @@ M.on_attach = function(client, bufnr)
client.server_capabilities.documentFormattingProvider = false
end
if client.name == "emmet_ls" then
client.capabilities.textDocument.completion.completionItem.snippetSupport = true
end
lsp_keymaps(bufnr)
local status_ok, illuminate = pcall(require, "illuminate")
if not status_ok then

@ -3,6 +3,7 @@ local servers = {
"pyright",
"tsserver",
"terraformls",
"emmet_ls",
}
require("mason").setup()

@ -0,0 +1,8 @@
return {
filetypes = { "css", "eruby", "html", "javascript", "javascriptreact", "less", "sass", "scss", "svelte", "pug", "typescriptreact", "vue" },
init_options = {
html = {
["bem.enabled"] = true
}
}
}

@ -2,7 +2,7 @@
output eDP-1 {
#mode 1920x1080@60.004Hz
mode 1920x1080@144.003Hz
scale 1.15
scale 1.0
adaptive_sync on
}

Loading…
Cancel
Save