Compare commits

..

39 commits
v2 ... main

Author SHA1 Message Date
caeeb528b3 Remove notice from GitHub repo's README
All checks were successful
Luacheck / Luacheck (push) Successful in 8s
StyLua / StyLuacheck (push) Successful in 13s
2024-01-19 02:06:55 +01:00
Jirka
6fd3d328a5
fix: Remove obsolete instructions
All checks were successful
Luacheck / Luacheck (push) Successful in 7s
StyLua / StyLuacheck (push) Successful in 10s
2024-01-14 14:05:32 +01:00
5e4b8d8b9b
Archive
Signed-off-by: Jiří Štefka <jiri@stefka.eu>
2024-01-14 14:01:25 +01:00
267a6f1929
feat!: move Tagbar and Trouble to LSP menu from Find menu
All checks were successful
Luacheck / Luacheck (push) Successful in 7s
StyLua / StyLuacheck (push) Successful in 11s
2023-12-03 02:07:54 +01:00
8eaf4288da
fix(issue_templates): identation
All checks were successful
Luacheck / Luacheck (push) Successful in 6s
StyLua / StyLuacheck (push) Successful in 7s
2023-10-04 10:27:39 +02:00
2dc17c2851
feat(issue_templates): add basic issue templates
All checks were successful
Luacheck / Luacheck (push) Successful in 7s
StyLua / StyLuacheck (push) Successful in 8s
2023-10-04 10:25:57 +02:00
ebe528abfa
fix(style/format): further code formating
All checks were successful
Luacheck / Luacheck (push) Successful in 7s
StyLua / StyLuacheck (push) Successful in 9s
2023-10-04 09:20:52 +02:00
9706834ddb
fix(style/format): formated the code
Some checks failed
Luacheck / Luacheck (push) Failing after 7s
StyLua / StyLuacheck (push) Successful in 10s
2023-10-04 09:14:10 +02:00
cb397b7f92
feat(luacheck): add .luacheckrc
Some checks failed
Luacheck / Luacheck (push) Failing after 7s
StyLua / StyLuacheck (push) Successful in 8s
to add variables that are defined in AstroNvim
2023-10-04 09:09:56 +02:00
936f405764 fix(cicd): manually setup actions as GH actions don't work on this image (#2)
Some checks failed
Luacheck / Luacheck (push) Failing after 7s
StyLua / StyLuacheck (push) Successful in 7s
Reviewed-on: https://gitea.stefka.eu/jiriks74/astronvim_config/pulls/2
2023-10-04 08:57:36 +02:00
458af12abf
fix(ci/cd): Move to full ubuntu image
Some checks failed
Luacheck / Luacheck (push) Failing after 4s
StyLua / StyLuacheck (push) Failing after 4s
2023-10-04 08:36:40 +02:00
7f352b9733
fix(ci/cd): rename .github to .gitea
Some checks failed
Luacheck / Luacheck (push) Failing after 6s
StyLua / StyLuacheck (push) Failing after 4s
2023-10-04 08:31:44 +02:00
c02b4ee543
feat(ci/cd): add luacheck and stylua 2023-10-04 08:30:25 +02:00
96ff1d7933
fix(editorconfig): remove editorconfig as it's integrated in NeoVim now
also move open-browser as a dependency of markdown-preview
2023-09-30 02:22:37 +02:00
8113956657
fix(presence.nvim): move to my patched version to make flatpak work 2023-09-26 17:08:51 +02:00
de11ec20e1
feat(JupyterNotebooks): add jupynium 2023-09-25 22:57:43 +02:00
fb861daa38
feat(copilot)!: move from copilot.vim to copilot.lua and copilot-cmp
Breaking change: Tab completion no longer does anything - it just adds a
tab as it should
- To use completion use CTRL + J and CTRL + K
2023-09-22 21:53:13 +02:00
730d24f51d
fix(OpenBrowser): Typo in lazy.nvim commands config 2023-09-19 19:38:37 +02:00
8de63b5f59 feat(plugins): Add LiveServer plugin 2023-09-02 23:08:34 +02:00
1d70d57a24 Fix Todo Comments 2023-07-06 00:11:30 +02:00
b013ab780c Add icons, run stylua 2023-03-16 21:59:56 +01:00
a8b3645148 Use stylua 2023-03-14 19:02:50 +01:00
84bf31cb41 Add vim-startuptime 2023-03-14 08:58:54 +01:00
2dcc50a1f0 Cleanup 2023-03-14 04:58:51 +01:00
dabb2f969e Switch node's launch.js to dln keybind 2023-03-13 07:55:09 +01:00
39e5545442 Fall back to old launch.json loading format 2023-03-13 03:52:41 +01:00
0a67458d17 Add support for tasks.json, load all launch.json configs 2023-03-13 03:45:50 +01:00
71445b6768 Better code readability 2023-03-10 20:18:40 +01:00
04858218cd Remove CarbonNow for normal mode, change background to none
Removed it as it really doesn't serve a purpose in normal mode
  - On a bit larger files you'll get an error that the url is too long
  - Plus it's not that hard to do `gg` + `v` + `G` + `$` to select
    everything
2023-03-10 20:08:46 +01:00
ab227484e7 Lazyload copilot.vim on opening a file 2023-03-10 19:56:38 +01:00
6ebc8353a6 Fix Trouble, Tagbar menu name 2023-03-10 19:49:27 +01:00
8d6d4c1894 Change mappings, better lazy loading 2023-03-10 19:08:40 +01:00
74f9b467fa Remove unnecessary/broken config 2023-03-10 11:16:21 +01:00
442a587137 Add editorconfig-vim 2023-03-10 10:57:49 +01:00
0a5bba771f Switch to folke/tokyonight.nvim theme 2023-03-10 10:43:50 +01:00
221bb66d75 Redo keybinds, add key group names, fix CarbonNow 2023-03-10 08:00:02 +01:00
62aa4d949c Delete a forgotten line in the Alpha banner 2023-03-10 07:19:32 +01:00
265e0a0ece Customize header 2023-03-10 03:30:05 +01:00
7119e95235 Rewrite for AstroNvim v3 2023-03-10 02:39:11 +01:00
8 changed files with 764 additions and 361 deletions

View file

@ -0,0 +1,111 @@
name: Issue report
description: Report any errors, bugs, or unexpected behaviors related to presence.nvim
title: "[Bug]: "
labels: [bug]
assignees:
- jiriks74
body:
- type: markdown
attributes:
value: |
Before reporting, please search [existing issues](https://gitea.stefka.eu/jiriks74/astronvim_config/issues/) and make sure that you are on the latest commit
- type: dropdown
attributes:
label: "Are you on the latest version of the commit?"
description: "If no, please backup your current config and update."
options:
- "Yes"
- "No"
validations:
required: true
- type: input
attributes:
label: "Which commit are you on?"
description: "To thet the commit hash run `git rev-parse --short HEAD` in the config directory (`~/.config/nvim/lua/user`)"
validations:
required: true
- type: dropdown
attributes:
label: "Have you modified the config?"
description: "If so, backup your current config and try the default one before reporting."
options:
- "Yes"
- "No"
validations:
required: true
- type: textarea
attributes:
label: "Description"
description: "A short summary of the error, bug, or unexpected behavior you're facing."
validations:
required: true
- type: textarea
attributes:
label: "Neovim version"
description: "Output of `nvim --version`"
render: markdown
placeholder: |
NVIM: v0.6.0-dev+209-g0603eba6e
Build type: Release
LuaJIT: 2.1.0-beta3
value: |
NVIM:
Build type:
LuaJIT:
validations:
required: true
- type: input
attributes:
label: "OS information"
placeholder: "Ubuntu 22.04"
validations:
required: true
- type: textarea
attributes:
label: "Steps to reproduce"
description: "Steps to reproduce the issue with your config(s) if applicable."
placeholder: |
1. Setup presence.nvim with `require("presence"):setup({...})`
2. Run Neovim with `nvim test.txt`
3. ...
validations:
required: true
- type: textarea
attributes:
label: "Logs"
description: "The full list of `:messages` from one or more `nvim` instances.\nPlease insert the logs into code blocks."
placeholder: |
<details>
```
[presence.nvim] Using runtime path: /run/user/1000
[presence.nvim] Using Discord IPC socket path: /run/user/1000/discord-ipc-0
[presence.nvim] Checking Discord IPC socket at /run/user/1000/discord-ipc-0...
```
</details>
value: |
<details>
```
```
</details>
validations:
required: true
- type: textarea
attributes:
label: "Aditional info"
description: "If you'd like to add anything else put it here."
validations:
required: false

View file

@ -0,0 +1,34 @@
name: Feature request
description: Report any errors, bugs, or unexpected behaviors related to presence.nvim
title: "[FEAT]: "
labels: [enhancement]
assignees:
- jiriks74
body:
- type: textarea
attributes:
label: Is your feature request related to a problem?
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when...
validations:
required: true
- type: textarea
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: false
- type: textarea
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false

View file

@ -0,0 +1,16 @@
name: Luacheck
on: [push, pull_request]
jobs:
Luacheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Luacheck
run: |
apt update && apt install lua-check -y
- name: Luacheck linter
run: |
luacheck .

View file

@ -0,0 +1,12 @@
name: StyLua
on: [push, pull_request]
jobs:
StyLuacheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: StyLua check
run: |
npx @johnnymorganz/stylua-bin .

9
.luacheckrc Normal file
View file

@ -0,0 +1,9 @@
std = {
globals = {
"vim",
"require",
},
read_globals = {
"fallback",
},
}

View file

@ -15,39 +15,23 @@
```bash
git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
nvim +PackerSync
```
- Clone my config into `~/.config/nvim/lua/user`
- For NeoVim >= 8.0
```bash
git clone https://github.com/jiriks74/astronvim_config ~/.config/nvim/lua/user
```
- For NeoVim < 8.0 use `neovim7.2` branch
```bash
git clone -b neovim7.2 https://github.com/jiriks74/astronvim_config ~/.config/nvim/lua/user
```
- Open nvim and run `:PackerSync`
```bash
nvim +PackerSync
```
## Useful info
- Folding with treesitter
- To get folding for your language, you need to run
`:TSInstall <language>` (eg. `TSInstall cpp` to get C++ folding)
- Install language servers
- Use `Space+p+I` keybind to open install menu.
- Use `Space+p+m` keybind to open install menu.
- To install package under the cursor, press `i`
- To uninstall package under the cursor press `X`
- Debugging
- See `vimspector` under [`Extra plugin included`](#extra-plugins-included)
- LaTeX
- To use `vimtex` plugin, you need to have LaTeX installed
- [`texlive-most`](https://wiki.archlinux.org/title/TeX_Live#Installation) package on ArchLinux

900
init.lua

File diff suppressed because it is too large Load diff

View file

@ -1,25 +0,0 @@
local cmp = require "cmp"
local luasnip = require "luasnip"
return {
preselect = cmp.PreselectMode.None,
mapping = {
["<CR>"] = cmp.mapping.confirm { select = false },
["<Tab>"] = cmp.mapping(function(fallback)
vim.api.nvim_feedkeys(vim.fn['copilot#Accept'](vim.api.nvim_replace_termcodes('<Tab>', true, true, true)), 'n',
true)
end)
-- if luasnip.expandable() then
-- luasnip.expand()
-- elseif luasnip.expand_or_jumpable() then
-- luasnip.expand_or_jump()
-- fallback()
-- end
-- end, {
-- "i",
-- "s",
-- }),
},
experimental = {
ghost_text = false -- this feature conflict with copilot.vim's preview.
}
}