mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -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 }),
|
s = cmp.mapping.confirm({ select = true }),
|
||||||
c = cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, 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
|
-- 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
|
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||||
-- Add any additional options here
|
-- 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
|
# LSPs
|
||||||
nodePackages.eslint
|
nodePackages.eslint
|
||||||
nodePackages.vscode-langservers-extracted
|
nodePackages.vscode-langservers-extracted
|
||||||
nodePackages.prettier
|
|
||||||
nodePackages.typescript-language-server
|
nodePackages.typescript-language-server
|
||||||
nodePackages.diagnostic-languageserver
|
nodePackages.diagnostic-languageserver
|
||||||
nodePackages.pyright
|
nodePackages.pyright
|
||||||
|
|
@ -87,8 +86,6 @@
|
||||||
nil
|
nil
|
||||||
marksman
|
marksman
|
||||||
sumneko-lua-language-server
|
sumneko-lua-language-server
|
||||||
stylua
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# PROGRAM CONFIGS
|
# PROGRAM CONFIGS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue