small changes
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
vim.g['ale_linters']={ ['cs'] = 'OmniSharp' }
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
vim.g['AutoPairsFlyMode']=0
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
local keyset = vim.keymap.set
|
|
||||||
|
|
||||||
function _G.check_back_space()
|
|
||||||
local col = vim.fn.col('.') - 1
|
|
||||||
return col == 0 or vim.fn.getline('.'):sub(col, col):match('%s') ~= nil
|
|
||||||
end
|
|
||||||
|
|
||||||
local opts = {silent = true, noremap = true, expr = true, replace_keycodes = false}
|
|
||||||
keyset("i", "<TAB>", 'coc#pum#visible() ? coc#pum#next(1) : v:lua.check_back_space() ? "<TAB>" : coc#refresh()', opts)
|
|
||||||
keyset("i", "<S-TAB>", [[coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"]], opts)
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
require('lualine').setup {
|
|
||||||
options = {
|
|
||||||
icons_enabled = true,
|
|
||||||
theme = 'wombat',
|
|
||||||
component_separators = { left = '', right = ''},
|
|
||||||
section_separators = { left = '', right = ''},
|
|
||||||
disabled_filetypes = {},
|
|
||||||
always_divide_middle = true,
|
|
||||||
globalstatus = true,
|
|
||||||
},
|
|
||||||
sections = {
|
|
||||||
lualine_a = {'mode'},
|
|
||||||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
|
||||||
lualine_c = {'filename'},
|
|
||||||
lualine_x = {'encoding', 'fileformat', 'filetype'},
|
|
||||||
lualine_y = {'progress'},
|
|
||||||
lualine_z = {'location'}
|
|
||||||
},
|
|
||||||
inactive_sections = {
|
|
||||||
lualine_a = {},
|
|
||||||
lualine_b = {},
|
|
||||||
lualine_c = {'filename'},
|
|
||||||
lualine_x = {'location'},
|
|
||||||
lualine_y = {},
|
|
||||||
lualine_z = {}
|
|
||||||
},
|
|
||||||
tabline = {
|
|
||||||
lualine_a = {'buffers'},
|
|
||||||
lualine_b = {'branch'},
|
|
||||||
lualine_c = {'filename'},
|
|
||||||
lualine_x = {},
|
|
||||||
lualine_y = {},
|
|
||||||
lualine_z = {'tabs'}
|
|
||||||
},
|
|
||||||
extensions = {}
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
vim.keymap.set('n', '<leader>nt', ':NERDTreeToggle<CR>')
|
|
||||||
|
|
||||||
vim.cmd[[
|
|
||||||
" Close the tab if NERDTree is the only window remaining in it.
|
|
||||||
autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
|
|
||||||
]]
|
|
||||||
@@ -1,77 +0,0 @@
|
|||||||
configuration {
|
|
||||||
display-drun: "Applications:";
|
|
||||||
display-window: "Windows:";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
font: "JetBrainsMono Nerd Font Medium 10";
|
|
||||||
modi: "run,drun";
|
|
||||||
}
|
|
||||||
|
|
||||||
@theme "/dev/null"
|
|
||||||
|
|
||||||
* {
|
|
||||||
bg: #2f343f;
|
|
||||||
bg-alt: #444b6a;
|
|
||||||
|
|
||||||
fg: #f3f4f5;
|
|
||||||
fg-alt: #787c99;
|
|
||||||
|
|
||||||
background-color: @bg;
|
|
||||||
|
|
||||||
border: 0;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
window {
|
|
||||||
width: 30%;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
padding: 8 0;
|
|
||||||
text-color: @fg-alt;
|
|
||||||
}
|
|
||||||
|
|
||||||
element selected {
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-icon {
|
|
||||||
size: 30;
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
background-color: @bg-alt;
|
|
||||||
padding: 12;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
children: [prompt, entry];
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
padding: 8 12;
|
|
||||||
background-color: @bg;
|
|
||||||
columns: 1;
|
|
||||||
lines: 8;
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
background-color: @bg;
|
|
||||||
children: [inputbar, listview];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
background-color: @bg-alt;
|
|
||||||
enabled: true;
|
|
||||||
padding: 12 0 0 12;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user