mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
fix
This commit is contained in:
parent
7cbf5a08ea
commit
c40cdf87b3
3 changed files with 7 additions and 5 deletions
|
|
@ -1,9 +1,6 @@
|
|||
-- Autocmds are automatically loaded on the VeryLazy event
|
||||
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
||||
-- Add any additional autocmds here
|
||||
--
|
||||
vim.cmd([[highlight Normal guibg=NONE ctermbg=NONE]])
|
||||
|
||||
local lsp = require("lsp-zero").preset({})
|
||||
|
||||
lsp.on_attach(function(client, bufnr)
|
||||
|
|
@ -100,7 +97,7 @@ cmp.setup({
|
|||
["<cr>"] = cmp.mapping({
|
||||
i = function(fallback)
|
||||
if cmp.visible() and cmp.get_active_entry() then
|
||||
cmp.confirm({ behavior = cmp.confirmbehavior.replace, select = true })
|
||||
cmp.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true })
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@ vim.opt.softtabstop = 2
|
|||
vim.opt.expandtab = true
|
||||
vim.opt.smartindent = true
|
||||
|
||||
vim.cmd([[
|
||||
autocmd FileType python setlocal tabstop=4 shiftwidth=4 softtabstop=4
|
||||
autocmd FileType haskell setlocal tabstop=4 shiftwidth=4 softtabstop=4
|
||||
]])
|
||||
|
||||
vim.opt.ignorecase = true
|
||||
vim.opt.smartcase = true
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ return {
|
|||
priority = 1000,
|
||||
config = function()
|
||||
require("github-theme").setup({
|
||||
opts = {
|
||||
options = {
|
||||
transparent = true,
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue