feat: eww hypr alacritty and more

This commit is contained in:
Fabio Lenherr 2022-08-31 00:27:23 +02:00
parent 1f3c2b9947
commit 7fb4f9ee73
No known key found for this signature in database
GPG key ID: 868FFD689D878939
132 changed files with 23 additions and 4881 deletions

View file

@ -1,16 +0,0 @@
local null_ls = require("null-ls")
null_ls.setup({
on_attach = function(client, bufnr)
if client.server_capabilities.documentFormattingProvider then
vim.cmd("nnoremap <silent><buffer> <Leader>f :lua vim.lsp.buf.formatting()<CR>")
-- format on save
vim.cmd("autocmd BufWritePost <buffer> lua vim.lsp.buf.formatting()")
end
if client.server_capabilities.documentRangeFormattingProvider then
vim.cmd("xnoremap <silent><buffer> <Leader>f :lua vim.lsp.buf.range_formatting({})<CR>")
end
end,
})