mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
Configurations
This commit is contained in:
parent
927e3c4b56
commit
d890e4044f
3 changed files with 6 additions and 24 deletions
|
|
@ -105,26 +105,6 @@ cmp.setup({
|
|||
s = cmp.mapping.confirm({ select = true }),
|
||||
c = cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true }),
|
||||
}),
|
||||
-- Lazyvim default
|
||||
-- ["<Tab>"] = cmp.mapping(function(fallback)
|
||||
-- if vim.fn.pumvisible() == 1 then
|
||||
-- vim.fn.feedkeys(vim.api.nvim_replace_termcodes("<C-y>", true, true, true), "n")
|
||||
-- elseif luasnip.expand_or_jumpable() then
|
||||
-- vim.fn.feedkeys(vim.api.nvim_replace_termcodes("<Plug>luasnip-expand-or-jump", true, true, true), "")
|
||||
-- else
|
||||
-- fallback()
|
||||
-- end
|
||||
-- end, { "i", "s" }),
|
||||
|
||||
-- ["<S-Tab>"] = cmp.mapping(function(fallback)
|
||||
-- if vim.fn.pumvisible() == 1 then
|
||||
-- vim.fn.feedkeys(vim.api.nvim_replace_termcodes("<C-p>", true, true, true), "n")
|
||||
-- elseif luasnip.jumpable(-1) then
|
||||
-- vim.fn.feedkeys(vim.api.nvim_replace_termcodes("<Plug>luasnip-jump-prev", true, true, true), "")
|
||||
-- else
|
||||
-- fallback()
|
||||
-- end
|
||||
-- end, { "i", "s" }),
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
-- Options are automatically loaded before lazy.nvim startup
|
||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||
-- Add any additional options here
|
||||
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.expandtab = true
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@
|
|||
# LSPs
|
||||
nodePackages.eslint
|
||||
nodePackages.vscode-langservers-extracted
|
||||
nodePackages.prettier
|
||||
nodePackages.typescript-language-server
|
||||
nodePackages.diagnostic-languageserver
|
||||
nodePackages.pyright
|
||||
|
|
@ -87,8 +86,6 @@
|
|||
nil
|
||||
marksman
|
||||
sumneko-lua-language-server
|
||||
stylua
|
||||
|
||||
];
|
||||
|
||||
# PROGRAM CONFIGS
|
||||
|
|
@ -112,7 +109,7 @@
|
|||
# GPG SSH AGENT
|
||||
home.sessionVariables = {
|
||||
SSH_AUTH_SOCK = "${config.xdg.dataHome}/gnupg/S.gpg-agent.ssh";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# DOTFILE SYMLINKS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue