stylua stuff

master
Drake 2 years ago
parent 9b2b0fb3b5
commit 545f37d6c8

@ -1,5 +1,5 @@
local map = vim.api.nvim_set_keymap local map = vim.api.nvim_set_keymap
vim.g.mapleader = " " vim.g.mapleader = ' '
map('n', '<leader>a', 'ggVG', { noremap = true, silent = true }) map('n', '<leader>a', 'ggVG', { noremap = true, silent = true })
map('i', '<C-a>', '<Esc>ggVG', { noremap = true, silent = true }) map('i', '<C-a>', '<Esc>ggVG', { noremap = true, silent = true })
map('v', '<leader>c', 'y', { noremap = true, silent = true }) map('v', '<leader>c', 'y', { noremap = true, silent = true })

@ -59,7 +59,9 @@ require('cokeline').setup({
end end
return get_hex('Comment', 'fg') return get_hex('Comment', 'fg')
end, end,
bg = function(_) return get_hex('Background', 'bg') end bg = function(_)
return get_hex('Background', 'bg')
end,
}, },
components = { components = {

@ -48,9 +48,9 @@ if not configs.astrols then
hover = { enabled = true }, hover = { enabled = true },
codeActions = { enabled = true }, codeActions = { enabled = true },
selectionRange = { enabled = true }, selectionRange = { enabled = true },
}
}, },
} },
},
} }
end end
@ -108,7 +108,7 @@ end
--}) --})
require('lspconfig').flow.setup({ require('lspconfig').flow.setup({
cmd = {"flow", "lsp"}, cmd = { 'flow', 'lsp' },
capabilities = capabilities, capabilities = capabilities,
}) })

@ -2,7 +2,7 @@ require('filetype').setup({
overrides = { overrides = {
extensions = { extensions = {
v = 'vlang', v = 'vlang',
astro = 'astro' astro = 'astro',
}, },
}, },
}) })

Loading…
Cancel
Save