From b88600afafa9d6375c63500e733bcba957ac5300 Mon Sep 17 00:00:00 2001 From: primeapple Date: Wed, 15 Jan 2025 08:59:26 +0100 Subject: [PATCH] Enable anthropic in `gp.nvim`, add kotlin ts, remove `relativenumber` --- .config/nvim/lua/plugins/gp.lua | 12 +++++------- .config/nvim/lua/plugins/treesitter.lua | 1 + .vimrc | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.config/nvim/lua/plugins/gp.lua b/.config/nvim/lua/plugins/gp.lua index 1ffbd83..0d6a350 100644 --- a/.config/nvim/lua/plugins/gp.lua +++ b/.config/nvim/lua/plugins/gp.lua @@ -13,13 +13,11 @@ return { }, config = function() require('gp').setup({ - -- providers = { - -- anthropic = { - -- endpoint = 'https://api.anthropic.com/v1/messages', - -- secret = os.getenv('ANTHROPIC_API_KEY'), - -- disable = false, - -- }, - -- }, + providers = { + anthropic = { + disable = false, + }, + }, }) end, } diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua index f83000a..4bb91ba 100644 --- a/.config/nvim/lua/plugins/treesitter.lua +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -22,6 +22,7 @@ return { 'java', 'javascript', 'json', + 'kotlin', 'lua', 'luadoc', 'luap', diff --git a/.vimrc b/.vimrc index 0e7dbf8..04c913b 100644 --- a/.vimrc +++ b/.vimrc @@ -24,7 +24,6 @@ set autoindent " automatically indents set backspace=indent,eol,start " Backspacing over everything set history=500 " keep 500 lines of command line history set number " enable line numbering -set relativenumber " enable relative line numbers set nostartofline " keep cursor positioning set shiftwidth=4 " 4 spaces for identation set softtabstop=4 " Tab und Backspace use the correct number of spaces