updates across the board
This commit is contained in:
parent
4bf58df405
commit
1fc86c9634
@ -9,7 +9,7 @@ if not status_cmp_ok then
|
||||
end
|
||||
|
||||
M.capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
M.capabilities = cmp_nvim_lsp.update_capabilities(M.capabilities)
|
||||
M.capabilities = cmp_nvim_lsp.default_capabilities(M.capabilities)
|
||||
|
||||
M.setup = function()
|
||||
local icons = require "user.icons"
|
||||
|
||||
@ -15,7 +15,6 @@ local servers = {
|
||||
"html",
|
||||
"jdtls",
|
||||
"solc",
|
||||
"solidity_ls",
|
||||
"sumneko_lua",
|
||||
"omnisharp",
|
||||
"tflint",
|
||||
|
||||
@ -48,7 +48,7 @@ return packer.startup(function(use)
|
||||
-- Lua Development
|
||||
use("nvim-lua/plenary.nvim") -- useful lua functions
|
||||
use("nvim-lua/popup.nvim")
|
||||
use("folke/lua-dev.nvim")
|
||||
use("folke/neodev.nvim")
|
||||
|
||||
-- LSP
|
||||
use("neovim/nvim-lspconfig") -- enable LSP
|
||||
|
||||
@ -23,15 +23,30 @@ export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
|
||||
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config"
|
||||
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
|
||||
export LESSHISTFILE="-"
|
||||
export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
|
||||
export INPUTRC="${XDG_CONFIG_HOME:-$HOME/.config}/shell/inputrc"
|
||||
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
|
||||
export WINEPREFIX="${XDG_DATA_HOME:-$HOME/.local/share}/wineprefixes/default"
|
||||
export KODI_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/kodi"
|
||||
export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/password-store"
|
||||
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
|
||||
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
|
||||
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
|
||||
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
|
||||
export ANSIBLE_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/ansible/ansible.cfg"
|
||||
export UNISON="${XDG_DATA_HOME:-$HOME/.local/share}/unison"
|
||||
export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history"
|
||||
export WEECHAT_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/weechat"
|
||||
export MBSYNCRC="${XDG_CONFIG_HOME:-$HOME/.config}/mbsync/config"
|
||||
export ELECTRUMDIR="${XDG_DATA_HOME:-$HOME/.local/share}/electrum"
|
||||
|
||||
# Other program settings:
|
||||
export DICS="/usr/share/stardict/dic/"
|
||||
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
|
||||
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
|
||||
export LESS=-R
|
||||
export LESS_TERMCAP_mb="$(printf '%b' '[1;31m')"
|
||||
export LESS_TERMCAP_md="$(printf '%b' '[1;36m')"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
Config {
|
||||
|
||||
-- appearance
|
||||
font = "xft:Fira Code:size=12:antialias=true:hinting=true"
|
||||
font = "xft:Fira Code:size=9:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:FiraCode Nerd Font:style=Regular:size=9:antialias=true:hinting=true" ]
|
||||
, bgColor = "#282a36"
|
||||
, fgColor = "#f8f8f2"
|
||||
|
||||
@ -89,6 +89,7 @@ lfcd() {
|
||||
|
||||
bindkey -s '^o' '^ulfcd\n'
|
||||
bindkey -s '^t' '^utms\n'
|
||||
bindkey -s '^n' '^uzk edit --interactive --sort modified-\n'
|
||||
|
||||
if [ -f /etc/hostname ]; then
|
||||
HOST=$(cat /etc/hostname)
|
||||
|
||||
@ -139,7 +139,7 @@ myClickJustFocuses = False
|
||||
|
||||
-- Width of the window border in pixels.
|
||||
myBorderWidth :: Dimension
|
||||
myBorderWidth = 2
|
||||
myBorderWidth = 1
|
||||
|
||||
-- Border colors for unfocused and focused windows, respectively.
|
||||
myNormalBorderColor :: String
|
||||
@ -438,12 +438,12 @@ mySpacing i = spacingRaw True (Border i i i i) True (Border i i i i) True
|
||||
-- mySpacing n sets the gap size around the windows.
|
||||
tall = renamed [Replace "tall"]
|
||||
$ limitWindows 12
|
||||
$ mySpacing 2
|
||||
$ mySpacing 1
|
||||
-- $ Mirror
|
||||
$ ResizableTall 1 (3/100) (1/2) []
|
||||
wide = renamed [Replace "wide"]
|
||||
$ limitWindows 12
|
||||
$ mySpacing 2
|
||||
$ mySpacing 1
|
||||
$ Mirror
|
||||
$ ResizableTall 1 (3/100) (1/2) []
|
||||
monocle = renamed [Replace "monocle"]
|
||||
@ -452,19 +452,19 @@ floats = renamed [Replace "floats"]
|
||||
$ limitWindows 20 simplestFloat
|
||||
grid = renamed [Replace "grid"]
|
||||
$ limitWindows 12
|
||||
$ mySpacing 2
|
||||
$ mySpacing 1
|
||||
$ mkToggle (single MIRROR)
|
||||
$ Grid (16/10)
|
||||
spirals = renamed [Replace "spirals"]
|
||||
$ mySpacing 2
|
||||
$ mySpacing 1
|
||||
$ spiral (6/7)
|
||||
threeCol = renamed [Replace "threeCol"]
|
||||
$ limitWindows 7
|
||||
$ mySpacing 2
|
||||
$ mySpacing 1
|
||||
$ ThreeCol 1 (3/100) (1/2)
|
||||
threeRow = renamed [Replace "threeRow"]
|
||||
$ limitWindows 7
|
||||
$ mySpacing 2
|
||||
$ mySpacing 1
|
||||
-- Mirror takes a layout and rotates it by 90 degrees.
|
||||
-- So we are applying Mirror to the ThreeCol layout.
|
||||
$ Mirror
|
||||
|
||||
Loading…
Reference in New Issue
Block a user