Compare commits
7 Commits
93fe00385e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| e720803df3 | |||
| eec13f5340 | |||
| 9b2a0db18a | |||
| 8d03b08ba3 | |||
| 54e0730c7a | |||
| 2267fe8e7a | |||
| 1a24a5001d |
@@ -0,0 +1,2 @@
|
|||||||
|
lazy-lock.json
|
||||||
|
plugin
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
# AGENTS.md - Конфигурация NVIM
|
|
||||||
|
|
||||||
## Общее описание
|
|
||||||
Отвечать на русском языке.
|
|
||||||
Работать только с директорией ./lua/antoxa
|
|
||||||
@@ -7,16 +7,16 @@
|
|||||||
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
|
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" },
|
"lspkind.nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "63a3c6a80538de1003373a619e29aeda27809ad3" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "0a3b42c3e503df87aef6d6513e13148381495c3a" },
|
||||||
"mason-tool-installer.nvim": { "branch": "main", "commit": "443f1ef8b5e6bf47045cb2217b6f748a223cf7dc" },
|
"mason-tool-installer.nvim": { "branch": "main", "commit": "443f1ef8b5e6bf47045cb2217b6f748a223cf7dc" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "b03fb0f20bc1d43daf558cda981a2be22e73ac42" },
|
"mason.nvim": { "branch": "main", "commit": "b03fb0f20bc1d43daf558cda981a2be22e73ac42" },
|
||||||
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
|
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
|
||||||
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
|
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
|
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
|
||||||
"nvim-lsp-file-operations": { "branch": "master", "commit": "b9c795d3973e8eec22706af14959bc60c579e771" },
|
"nvim-lsp-file-operations": { "branch": "master", "commit": "b9c795d3973e8eec22706af14959bc60c579e771" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "c588db330592fa477a70d2fee6ba20a57194bdc3" },
|
"nvim-lspconfig": { "branch": "master", "commit": "e05fb8c3bd61d909dacff24f77f23beb644daf54" },
|
||||||
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
|
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
"plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" },
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "48d2656e54d3e3953ae647153ccdaffa50d4d76b" }
|
"telescope.nvim": { "branch": "master", "commit": "028d9a0695a0cc4cfa893889f8c408ed7ccc8adc" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ return {
|
|||||||
plugins = {
|
plugins = {
|
||||||
{
|
{
|
||||||
name = '@vue/typescript-plugin',
|
name = '@vue/typescript-plugin',
|
||||||
location = '/home/antoxa/.nvm/versions/node/v24.13.0/lib/node_modules/@vue/typescript-plugin',
|
location = '/home/antoxa/.nvm/versions/node/v24.15.0/lib/node_modules/@vue/typescript-plugin',
|
||||||
languages = { 'vue' }
|
languages = { 'vue' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -134,11 +134,11 @@ return {
|
|||||||
-- end,
|
-- end,
|
||||||
-- })
|
-- })
|
||||||
|
|
||||||
vim.lsp.config("graphql", {
|
-- vim.lsp.config('graphql', {
|
||||||
filetypes = { "graphql", "gql", "svelte", "typescriptreact", "javascriptreact" },
|
-- filetypes = { 'graphql', 'gql', 'svelte', 'typescriptreact', 'javascriptreact' },
|
||||||
})
|
-- })
|
||||||
|
|
||||||
vim.lsp.config("emmet_ls", {
|
vim.lsp.config('emmet_ls', {
|
||||||
filetypes = { "html", "typescriptreact", "javascriptreact", "css", "sass", "scss", "less", "svelte" },
|
filetypes = { "html", "typescriptreact", "javascriptreact", "css", "sass", "scss", "less", "svelte" },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ return {
|
|||||||
"lua_ls",
|
"lua_ls",
|
||||||
"graphql",
|
"graphql",
|
||||||
"emmet_ls",
|
"emmet_ls",
|
||||||
"clangd",
|
-- "clangd",
|
||||||
-- "svelte",
|
-- "svelte",
|
||||||
-- "prismals",
|
-- "prismals",
|
||||||
-- "pyright",
|
-- "pyright",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ return {
|
|||||||
lazy = false,
|
lazy = false,
|
||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
config = function()
|
config = function()
|
||||||
require('nvim-treesitter').install({
|
require('nvim-treesitter').setup({
|
||||||
'vim',
|
'vim',
|
||||||
'lua',
|
'lua',
|
||||||
'cmake',
|
'cmake',
|
||||||
@@ -21,5 +21,9 @@ return {
|
|||||||
'markdown',
|
'markdown',
|
||||||
'yaml'
|
'yaml'
|
||||||
})
|
})
|
||||||
|
vim.api.nvim_create_autocmd('FileType', {
|
||||||
|
pattern = { 'c', 'cpp' },
|
||||||
|
callback = function() vim.treesitter.start() end,
|
||||||
|
})
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|||||||
+19
-3
@@ -1,15 +1,31 @@
|
|||||||
# Paths.
|
# Paths.
|
||||||
export ZDOTDIR="$HOME/.config/zsh"
|
export ZDOTDIR="$HOME/.config/zsh"
|
||||||
|
|
||||||
# Utils.
|
# Functions
|
||||||
source "$ZDOTDIR/functions"
|
source "$ZDOTDIR/functions"
|
||||||
|
|
||||||
# Include files.
|
# Include files.
|
||||||
zsh_include_file "includes/environment"
|
|
||||||
zsh_include_file "includes/aliases"
|
zsh_include_file "includes/aliases"
|
||||||
zsh_include_file "includes/prompt"
|
zsh_include_file "includes/prompt"
|
||||||
zsh_include_file "includes/nvm"
|
|
||||||
|
|
||||||
# Add plugins.
|
# Add plugins.
|
||||||
# zsh_add_plugin "hlissner/zsh-autopair"
|
# zsh_add_plugin "hlissner/zsh-autopair"
|
||||||
zsh_add_plugin "zsh-users/zsh-syntax-highlighting"
|
zsh_add_plugin "zsh-users/zsh-syntax-highlighting"
|
||||||
|
|
||||||
|
export EDITOR="vim"
|
||||||
|
export TERMINAL="st"
|
||||||
|
|
||||||
|
# NVM.
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||||
|
|
||||||
|
# opencode
|
||||||
|
export PATH=/home/antoxa/.opencode/bin:$PATH
|
||||||
|
|
||||||
|
# claude
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export ANTHROPIC_BASE_URL=http://localhost:20128/v1
|
||||||
|
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1
|
||||||
|
export ANTHROPIC_MODEL=kr/claude-sonnet-4.5
|
||||||
|
# export ANTHROPIC_AUTH_TOKEN=secret-api-key
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# bun
|
|
||||||
export BUN_INSTALL="$HOME/.bun"
|
|
||||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
|
||||||
|
|
||||||
# bun completions
|
|
||||||
[ -s "/home/antoxa/.bun/_bun" ] && source "/home/antoxa/.bun/_bun"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
export EDITOR="vim"
|
|
||||||
export TERMINAL="st"
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# NVM.
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
|
||||||
-13
@@ -1,14 +1 @@
|
|||||||
source $HOME/.config/zsh/.zshrc
|
source $HOME/.config/zsh/.zshrc
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
||||||
|
|
||||||
## [Completion]
|
|
||||||
## Completion scripts setup. Remove the following line to uninstall
|
|
||||||
[[ -f /home/antoxa/.dart-cli-completion/zsh-config.zsh ]] && . /home/antoxa/.dart-cli-completion/zsh-config.zsh || true
|
|
||||||
## [/Completion]
|
|
||||||
|
|
||||||
|
|
||||||
# opencode
|
|
||||||
export PATH=/home/antoxa/.opencode/bin:$PATH
|
|
||||||
|
|||||||
Reference in New Issue
Block a user