Compare commits

..

No commits in common. "33e5350bbb39ed08372322ccc1d95dd0d0f1a4e4" and "a6be7b1e30dd7242875cf1224744a97c3054a2bd" have entirely different histories.

4 changed files with 19 additions and 35 deletions

View file

@ -1,7 +0,0 @@
#!/bin/sh
curl https://cdn.jsdelivr.net/gh/"$1" \
| tail +7 \
| head -n -1 \
| gzip \
| wc --bytes

View file

@ -34,7 +34,5 @@ return function(_, bufnr)
end end
--vim.keymap.set('n', '<leader>f', vim.lsp.buf.formatting, bufopts) --vim.keymap.set('n', '<leader>f', vim.lsp.buf.formatting, bufopts)
vim.api.nvim_buf_create_user_command(bufnr, "Format", function() vim.api.nvim_buf_create_user_command(bufnr, "Format", vim.lsp.buf.format, {})
vim.lsp.buf.format()
end, {})
end end

View file

@ -1,15 +1,20 @@
local config = require 'lspconfig' local config = require 'lspconfig'
local default = { on_attach = require 'lsp.attach' } config.lua_ls.setup {
for _, language in ipairs { on_attach = require 'lsp.attach'
"html", }
"cssls", config.zls.setup {
"clangd", on_attach = require 'lsp.attach'
"denols", }
"lua_ls", config.standardrb.setup {
"solargraph", on_attach = require 'lsp.attach'
"standardrb", }
"zls", config.clangd.setup {
} do on_attach = require 'lsp.attach'
config[language].setup(default) }
end config.solargraph.setup {
on_attach = require 'lsp.attach'
}
config.denols.setup {
on_attach = require 'lsp.attach'
}

View file

@ -22,18 +22,6 @@ use {
}; };
config = require 'pack.setup.neotree'; config = require 'pack.setup.neotree';
}; };
{
"stevearc/aerial.nvim", config = function()
require("aerial").setup()
end
};
{
"hedyhli/outline.nvim",
config = function()
vim.keymap.set("n", "<leader>o", "<cmd>OutlineOpen<CR><cmd>OutlineFocus<CR>", { desc = "Toggle Outline" })
require("outline").setup()
end
};
{ 'jinh0/eyeliner.nvim', config = function() { 'jinh0/eyeliner.nvim', config = function()
require('eyeliner').setup { require('eyeliner').setup {
highlight_on_key = true; highlight_on_key = true;