Remove timestamps, remove konsole setup and update neovim packages
This commit is contained in:
parent
0755c7e3d4
commit
a5aa039671
15 changed files with 40 additions and 186 deletions
|
|
@ -2,7 +2,3 @@
|
|||
name: common
|
||||
version: master
|
||||
scm: git
|
||||
- src: git+https://git.fudiggity.nl/ansible/npm.git
|
||||
name: npm
|
||||
version: master
|
||||
scm: git
|
||||
|
|
|
|||
|
|
@ -20,20 +20,3 @@
|
|||
update: true
|
||||
version: master
|
||||
when: githook_ssh_clone.failed
|
||||
|
||||
- name: copy konsole configuration files
|
||||
template:
|
||||
src: '{{ item.src }}'
|
||||
dest: '{{ item.dest }}'
|
||||
mode: '0600'
|
||||
force: true
|
||||
loop:
|
||||
- {
|
||||
src: 'templates/konsole.profile.j2',
|
||||
dest: '{{ xdg_data_dir }}/konsole/Standard.profile',
|
||||
}
|
||||
- {
|
||||
src: 'templates/konsole.colorscheme.j2',
|
||||
dest: '{{ xdg_data_dir }}/konsole/BlackOnWhite.colorscheme',
|
||||
}
|
||||
- { src: 'templates/konsole.config.j2', dest: '{{ xdg_config_dir }}/konsolerc' }
|
||||
|
|
|
|||
|
|
@ -1,96 +0,0 @@
|
|||
[Background]
|
||||
Color=255,255,255
|
||||
|
||||
[BackgroundFaint]
|
||||
Color=255,255,255
|
||||
|
||||
[BackgroundIntense]
|
||||
Color=255,255,255
|
||||
|
||||
[Color0]
|
||||
Color=62,62,62
|
||||
|
||||
[Color0Faint]
|
||||
Color=170,170,170
|
||||
|
||||
[Color0Intense]
|
||||
Color=104,104,104
|
||||
|
||||
[Color1]
|
||||
Color=178,24,24
|
||||
|
||||
[Color1Faint]
|
||||
Color=224,142,142
|
||||
|
||||
[Color1Intense]
|
||||
Color=255,84,84
|
||||
|
||||
[Color2]
|
||||
Color=24,178,24
|
||||
|
||||
[Color2Faint]
|
||||
Color=142,224,142
|
||||
|
||||
[Color2Intense]
|
||||
Color=84,255,84
|
||||
|
||||
[Color3]
|
||||
Color=229,133,31
|
||||
|
||||
[Color3Faint]
|
||||
Color=224,224,142
|
||||
|
||||
[Color3Intense]
|
||||
Color=194,164,255
|
||||
|
||||
[Color4]
|
||||
Color=24,24,178
|
||||
|
||||
[Color4Faint]
|
||||
Color=142,142,224
|
||||
|
||||
[Color4Intense]
|
||||
Color=84,84,255
|
||||
|
||||
[Color5]
|
||||
Color=178,24,178
|
||||
|
||||
[Color5Faint]
|
||||
Color=224,142,224
|
||||
|
||||
[Color5Intense]
|
||||
Color=255,84,255
|
||||
|
||||
[Color6]
|
||||
Color=24,178,178
|
||||
|
||||
[Color6Faint]
|
||||
Color=142,224,224
|
||||
|
||||
[Color6Intense]
|
||||
Color=84,255,255
|
||||
|
||||
[Color7]
|
||||
Color=58,58,58
|
||||
|
||||
[Color7Faint]
|
||||
Color=142,142,142
|
||||
|
||||
[Color7Intense]
|
||||
Color=255,255,255
|
||||
|
||||
[Foreground]
|
||||
Color=36,36,36
|
||||
|
||||
[ForegroundFaint]
|
||||
Color=0,0,0
|
||||
|
||||
[ForegroundIntense]
|
||||
Color=0,0,0
|
||||
|
||||
[General]
|
||||
Blur=false
|
||||
ColorRandomization=false
|
||||
Description=Black on White
|
||||
Opacity=1
|
||||
Wallpaper=
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
[Desktop Entry]
|
||||
DefaultProfile=Standard.profile
|
||||
|
||||
[DownloadDialog Settings]
|
||||
Height 1080=494
|
||||
Width 1920=700
|
||||
|
||||
[Favorite Profiles]
|
||||
Favorites=Standard.profile
|
||||
|
||||
[KonsoleWindow]
|
||||
ShowMenuBarByDefault=false
|
||||
|
||||
[MainWindow]
|
||||
MenuBar=Disabled
|
||||
State=AAAA/wAAAAD9AAAAAAAAB4AAAAQbAAAABAAAAAQAAAAIAAAACPwAAAAA
|
||||
ToolBarsMovable=Disabled
|
||||
Width 1920=1415
|
||||
|
||||
[Notification Messages]
|
||||
CloseAllTabs=true
|
||||
|
||||
[TabBar]
|
||||
TabBarPosition=Top
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
[Appearance]
|
||||
BoldIntense=false
|
||||
ColorScheme=BlackOnWhite
|
||||
Font=IBM Plex Mono,11,-1,5,57,0,0,0,0,0,Medium
|
||||
UseFontLineChararacters=true
|
||||
|
||||
[Cursor Options]
|
||||
CursorShape=0
|
||||
|
||||
[General]
|
||||
Environment=TERM=xterm-256color,COLORTERM=truecolor
|
||||
Name=Standard
|
||||
Parent=FALLBACK/
|
||||
StartInCurrentSessionDir=true
|
||||
|
||||
[Terminal Features]
|
||||
BlinkingCursorEnabled=true
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
require('options')
|
||||
require('lsp')
|
||||
require('nvim-cmp')
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
--colorscheme
|
||||
vim.cmd('colorscheme edge')
|
||||
vim.cmd('colorscheme catppuccin-latte')
|
||||
|
||||
--enable this option here as the events are used in this buffer
|
||||
vim.cmd('syntax on')
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
local gitsigns = require('gitsigns');
|
||||
|
||||
gitsigns.setup({
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
local opts = {noremap=true, silent=true}
|
||||
|
||||
vim.api.nvim_set_keymap('n', '<C-E>', '<cmd>:NERDTreeToggle<CR>', opts)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
--use an on_attach function to only map the following keys
|
||||
--after the language server attaches to the current buffer
|
||||
local on_attach = function(client, bufnr)
|
||||
|
|
@ -42,6 +40,11 @@ end
|
|||
|
||||
local util = require('lspconfig/util')
|
||||
|
||||
local python_root_dir = function(fname)
|
||||
return util.root_pattern('.git', 'setup.cfg', 'requirements')(fname) or
|
||||
util.path.dirname(fname)
|
||||
end
|
||||
|
||||
nvim_lsp.pylsp.setup({
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
|
|
@ -55,10 +58,16 @@ nvim_lsp.pylsp.setup({
|
|||
}
|
||||
}
|
||||
},
|
||||
root_dir = function(fname)
|
||||
return util.root_pattern('.git', 'setup.cfg', 'requirements')(fname) or
|
||||
util.path.dirname(fname)
|
||||
end
|
||||
root_dir = python_root_dir
|
||||
})
|
||||
|
||||
local pyright_capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
pyright_capabilities.textDocument.publishDiagnostics.tagSupport.valueSet = { 2 }
|
||||
|
||||
nvim_lsp.pyright.setup({
|
||||
on_attach = on_attach,
|
||||
capabilities = pyright_capabilities,
|
||||
root_dir = python_root_dir
|
||||
})
|
||||
|
||||
nvim_lsp.html.setup({
|
||||
|
|
|
|||
|
|
@ -1,5 +1,21 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
local lualine = require('lualine');
|
||||
|
||||
lualine.setup({})
|
||||
lualine.setup {
|
||||
sections = {
|
||||
lualine_a = {'mode'},
|
||||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
||||
lualine_c = {
|
||||
{
|
||||
'filename',
|
||||
path = 1,
|
||||
}
|
||||
},
|
||||
lualine_x = {
|
||||
'encoding',
|
||||
'fileformat',
|
||||
'filetype'
|
||||
},
|
||||
lualine_y = {'progress'},
|
||||
lualine_z = {'location'}
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
local cmp = require('cmp')
|
||||
|
||||
cmp.setup {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
-- fix different locale settings when ssh'ing
|
||||
vim.o.encoding = 'utf-8'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
-- Tree sitter language parsers are installed automatically (through `auto_install`).
|
||||
-- To update installed parsers use `:TSUpdate {language}`.
|
||||
-- See https://github.com/nvim-treesitter/nvim-treesitter for more info.
|
||||
|
|
|
|||
5
vars.yml
5
vars.yml
|
|
@ -60,6 +60,11 @@ neovim_plugins:
|
|||
- { url: 'https://github.com/lewis6991/gitsigns.nvim', name: 'gitsigns.nvim' }
|
||||
- { url: 'https://github.com/sainnhe/edge', name: 'edge' }
|
||||
- { url: 'https://github.com/nvim-lualine/lualine.nvim', name: 'lualine' }
|
||||
- {
|
||||
url: 'https://github.com/catppuccin/nvim',
|
||||
name: 'catppuccin',
|
||||
version: '045e3499d9ec8d84635fb08877ae44fd33f6a38d',
|
||||
}
|
||||
|
||||
language_servers:
|
||||
- ansible-language-server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue