more stuff
This commit is contained in:
parent
9b3299e972
commit
7c7b898c5e
|
@ -11,6 +11,7 @@ wk.register({
|
|||
f = "Find File",
|
||||
s = "Live Search",
|
||||
b = "File Browser (delete this?)",
|
||||
r = "Recent Files",
|
||||
},
|
||||
-- Git related stuff
|
||||
g = {
|
||||
|
@ -34,7 +35,8 @@ wk.register({
|
|||
K = "Hover",
|
||||
gd = "Go to definition",
|
||||
-- Debugging
|
||||
D = "Debug UI",
|
||||
B = "Set Breakpoint",
|
||||
["<F5>"] = "Debug: Continue", -- this doesnt work
|
||||
["<F5>"] = "Debug: Continue",
|
||||
},
|
||||
})
|
||||
|
|
|
@ -11,6 +11,6 @@ require("clint") -- loads lua/clint/init.lua
|
|||
require("lazy").setup(
|
||||
{
|
||||
spec = "plugins",
|
||||
install = { colorscheme = { "gruvbox", "habamax" } }
|
||||
install = { colorscheme = { "gruvbox", } }
|
||||
}
|
||||
) -- loads each lua/plugin/*
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
-- general theme
|
||||
vim.cmd("colorscheme gruvbox")
|
||||
|
||||
-- ignore background color for transparency
|
||||
vim.cmd("highlight Normal guibg=none")
|
||||
vim.cmd("highlight NonText guibg=none")
|
||||
vim.cmd("highlight Normal ctermbg=none")
|
||||
vim.cmd("highlight NonText ctermbg=none")
|
||||
-- -- ignore background color for transparency
|
||||
-- vim.cmd("highlight Normal guibg=none")
|
||||
-- vim.cmd("highlight NonText guibg=none")
|
||||
-- vim.cmd("highlight Normal ctermbg=none")
|
||||
-- vim.cmd("highlight NonText ctermbg=none")
|
||||
|
|
|
@ -13,6 +13,11 @@ require 'lspconfig'.pyright.setup {
|
|||
on_attach = on_attach
|
||||
}
|
||||
|
||||
-- require 'lspconfig'.black.setup {
|
||||
-- capabilities = capabilities,
|
||||
-- on_attach = on_attach
|
||||
-- }
|
||||
|
||||
require 'lspconfig'.sumneko_lua.setup {
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
|
@ -38,6 +43,25 @@ cmp.setup({
|
|||
-- documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
|
||||
|
||||
["<Tab>"] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_next_item()
|
||||
-- elseif has_words_before() then
|
||||
-- cmp.complete()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end, { "i", "s" }),
|
||||
["<S-Tab>"] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_prev_item()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end, { "i", "s" }),
|
||||
|
||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||
['<C-Space>'] = cmp.mapping.complete(),
|
||||
|
|
|
@ -20,7 +20,7 @@ return {
|
|||
local nls = require("null-ls")
|
||||
nls.setup({
|
||||
sources = {
|
||||
nls.builtins.diagnostics.selene,
|
||||
nls.builtins.formatting.black,
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
@ -126,7 +126,7 @@ return {
|
|||
{ 'nvim-lualine/lualine.nvim' },
|
||||
|
||||
-- Devicons
|
||||
{ 'kyazdani42/nvim-web-devicons' },
|
||||
{ 'nvim-tree/nvim-web-devicons' },
|
||||
|
||||
-- Indent lines
|
||||
{ "lukas-reineke/indent-blankline.nvim" },
|
||||
|
|
Loading…
Reference in New Issue