update to using lua in init.vim
parent
be465941c9
commit
db9835dc23
@ -1,117 +1,16 @@
|
||||
{
|
||||
"coc.preferences.formatOnSaveFiletypes": ["gunk", "go", "css", "svelte", "typescript", "javascript"],
|
||||
"coc.preferences.currentFunctionSymbolAutoUpdate": true,
|
||||
"diagnostic.virtualText": true,
|
||||
"diagnostic.virtualTextCurrentLineOnly": true,
|
||||
"diagnostic.virtualTextPrefix": " ⇒ ",
|
||||
"diagnostic.virtualTextLineSeparator": "|",
|
||||
"diagnostic.errorSign": "✘",
|
||||
"diagnostic.warningSign": "!",
|
||||
"diagnostic.infoSign": "?",
|
||||
"diagnostic.checkCurrentLine": true,
|
||||
"codeLens.enable": false,
|
||||
"languageserver": {
|
||||
"golang": {
|
||||
"command": "gopls",
|
||||
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
|
||||
"filetypes": ["go"]
|
||||
}
|
||||
},
|
||||
"explorer": {
|
||||
"width": 32,
|
||||
"icon.enableNerdfont": true,
|
||||
"file.reveal.whenOpen": false,
|
||||
"keyMappings.global": {
|
||||
"l": ["wait", "expandable?", "expand", "open:select:keep"],
|
||||
"L": ["wait", "expandable?", "expand", "open"]
|
||||
}
|
||||
},
|
||||
"suggest.completionItemKindLabels": {
|
||||
"class": "",
|
||||
"color": "",
|
||||
"constant": "",
|
||||
"constructor": "",
|
||||
"default": "",
|
||||
"enum": "",
|
||||
"enumMember": "",
|
||||
"event": "鬒",
|
||||
"field": "",
|
||||
"file": "",
|
||||
"folder": "",
|
||||
"function": "ƒ",
|
||||
"interface": "",
|
||||
"keyword": "",
|
||||
"method": "",
|
||||
"module": "פּ",
|
||||
"operator": "",
|
||||
"property": "",
|
||||
"reference": "",
|
||||
"snippet": "",
|
||||
"struct": "",
|
||||
"text": "",
|
||||
"typeParameter": "",
|
||||
"unit": "",
|
||||
"value": "",
|
||||
"variable": "⒳"
|
||||
},
|
||||
"go.goplsOptions": {
|
||||
"completeUnimported": true,
|
||||
"gofumpt": true,
|
||||
"hoverKind": "SynopsisDocumentation",
|
||||
"linksInHover": false
|
||||
},
|
||||
"cSpell.allowCompoundWords": true,
|
||||
"cSpell.enabledLanguageIds": [ "markdown", "pandoc" ],
|
||||
"cSpell.languagesettings": [
|
||||
|
||||
{
|
||||
"languageId": "gunk",
|
||||
"local": "en",
|
||||
"dictionaries": ["wordsEn", "softwareTerms", "misc", "go"]
|
||||
}
|
||||
],
|
||||
"cSpell.userWords": [
|
||||
"Brankas",
|
||||
"GRPC",
|
||||
"Glitchless",
|
||||
"Gorm",
|
||||
"Idempotency",
|
||||
"Minecraft",
|
||||
"ORMs",
|
||||
"Overworld",
|
||||
"Piglin",
|
||||
"Speedrunning",
|
||||
"accountingreports",
|
||||
"appstatus",
|
||||
"authorizationholds",
|
||||
"discordgo",
|
||||
"emptypb",
|
||||
"fset",
|
||||
"glaccounts",
|
||||
"gohtml",
|
||||
"hhhapz",
|
||||
"livestreams",
|
||||
"newpage",
|
||||
"nums",
|
||||
"openapiv",
|
||||
"pagebreak",
|
||||
"pkgs",
|
||||
"proto",
|
||||
"protobuf",
|
||||
"protoc",
|
||||
"resends",
|
||||
"speedrun",
|
||||
"speedrunner",
|
||||
"speedrunners",
|
||||
"speedruns",
|
||||
"struct",
|
||||
"teamortix",
|
||||
"textwidth",
|
||||
"unban"
|
||||
],
|
||||
"coc-gunk": {
|
||||
"server.args": ["-lint"]
|
||||
"suggest.noselect": true,
|
||||
"suggest.enablePreselect": false,
|
||||
"coc.preferences.formatOnSave": true,
|
||||
"codeLens.enable": true,
|
||||
"codeLens.position": "eol",
|
||||
"go.goplsOptions": {
|
||||
"gofumpt": true,
|
||||
"semanticTokens": true,
|
||||
"staticcheck": true,
|
||||
"usePlaceholders": false
|
||||
},
|
||||
"svelte.enable-ts-plugin": true
|
||||
|
||||
"clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/15.0.6/clangd_15.0.6/bin/clangd",
|
||||
"svelte.enable-ts-plugin": true,
|
||||
"tsserver.log": "verbose"
|
||||
}
|
||||
|
@ -1,33 +1,21 @@
|
||||
call plug#begin()
|
||||
|
||||
Plug 'chrisbra/Colorizer'
|
||||
Plug 'KabbAmine/vCoolor.vim'
|
||||
Plug 'ap/vim-css-color'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'fatih/vim-go', {'do': ':GoUpdateBinaries'}
|
||||
Plug 'evanleck/vim-svelte'
|
||||
Plug 'lervag/vimtex'
|
||||
Plug 'cespare/vim-toml'
|
||||
Plug 'evanleck/vim-svelte', {'branch': 'main'}
|
||||
Plug 'fatih/vim-go'
|
||||
Plug 'github/copilot.vim'
|
||||
|
||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'nvim-telescope/telescope.nvim'
|
||||
Plug 'machakann/vim-highlightedyank'
|
||||
Plug 'mattn/emmet-vim'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
|
||||
Plug 'posva/vim-vue'
|
||||
Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
|
||||
Plug 'ron89/thesaurus_query.vim'
|
||||
Plug 'srcery-colors/srcery-vim'
|
||||
Plug 'bluz71/vim-moonfly-colors'
|
||||
Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug 'tpope/vim-unimpaired'
|
||||
Plug 'udalov/kotlin-vim'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'vim-autoformat/vim-autoformat'
|
||||
Plug 'vim-pandoc/vim-pandoc'
|
||||
Plug 'vim-pandoc/vim-pandoc-syntax'
|
||||
Plug '~/code/misc/vcopy.nvim'
|
||||
Plug 'hashivim/vim-terraform'
|
||||
|
||||
call plug#end()
|
||||
|
@ -1,19 +0,0 @@
|
||||
func! WordProcessor()
|
||||
" movement changes
|
||||
map j gj
|
||||
map k gk
|
||||
map 0 g0
|
||||
map $ g$
|
||||
" formatting text
|
||||
setlocal wrap
|
||||
setlocal linebreak
|
||||
" spelling and thesaurus
|
||||
setlocal spell spelllang=en_us
|
||||
" complete+=s makes autocompletion search the thesaurus
|
||||
set complete+=s
|
||||
set expandtab
|
||||
set tabstop=2
|
||||
set textwidth=100
|
||||
endfu
|
||||
|
||||
com! WP call WordProcessor()
|
Loading…
Reference in New Issue