Compare commits

16 Commits

Author SHA1 Message Date
yuriy e725aeec5d television customization, shortcut to cd into ansible
Check Lua Formatting / Stylua Check (push) Has been cancelled
2026-08-21 03:24:02 -04:00
yzinchuk 9232a44ef0 television and zoxide integration 2026-08-21 03:24:02 -04:00
yzinchuk 66bf2f42aa relative line numbers, opencode plugin 2026-08-21 03:24:02 -04:00
yzinchuk d0d7364994 telescope layout - vertical 2026-08-21 03:24:02 -04:00
yzinchuk 24f6595139 Initial commit 2026-08-21 03:24:02 -04:00
orip 626c660f54 Update the CI actions 2026-08-07 18:44:41 +03:00
orip b84f0b775d Fix CI checkout after github new security policy
Github now fails with the following error when using
`on: pull_request_target`:
```
Error: Refusing to check out fork pull request code from a
'pull_request_target' workflow. This workflow runs with the base
repository's GITHUB_TOKEN, secrets, default-branch cache scope, and
runner access. Fetching and executing a fork's code in that trusted
context commonly leads to "pwn request" vulnerabilities. To opt in,
review the risks at https://gh.io/securely-using-pull_request_target and
set 'allow-unsafe-pr-checkout: true' on the actions/checkout step.
```

This reverts https://github.com/nvim-lua/kickstart.nvim/pull/571
and reopens https://github.com/nvim-lua/kickstart.nvim/pull/570
2026-08-07 18:39:45 +03:00
orip bd53f28e49 Fix corrupted library path of lua_ls
The previous code accidentally overwrote the library path of lua_ls
because it used `vim.tbl_extend` instead of `vim.list_extend`.

Because they paths that were added to the list (`luv` and `busted`) are
not really relevant for neovim configs, they are omitted entirely.

fixes: #2138
2026-08-07 18:36:21 +03:00
orip b01d052770 Fix lua_ls diagnostics
fixes: #2133
2026-07-27 11:20:27 +03:00
Ori Perry 267fb6aa73 Merge pull request #2068 from stephansama/feature/update-readme-for-templating
chore: updated readme
2026-07-25 21:47:36 +03:00
orip 216e06a36d Update section 2's name 2026-07-25 20:54:30 +03:00
Ori Perry 9a023810f4 Merge pull request #2093 from rez1-dev/section-names
chore(init.lua): clarify section comments
2026-07-25 20:51:05 +03:00
orip 3a2194f210 Call mason-lspconfig.setup to avoid UB
fixes: #2121, resolves: #2128
2026-07-25 20:44:18 +03:00
stephansama 7a3532ac07 chore: add language for forks 2026-06-12 09:52:53 -04:00
rez1 3a6511c71a chore(init.lua): clarify section comments 2026-06-12 14:16:40 +06:00
stephansama f1de74680a chore: updated readme 2026-05-28 04:07:22 -04:00
3 changed files with 34 additions and 20 deletions
+7 -5
View File
@@ -1,6 +1,10 @@
# Check Lua Formatting # Check Lua Formatting
name: Check Lua Formatting name: Check Lua Formatting
on: pull_request_target on:
push:
branches:
- master
pull_request:
jobs: jobs:
stylua-check: stylua-check:
@@ -9,11 +13,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v6 uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Stylua Check - name: Stylua Check
uses: JohnnyMorganz/stylua-action@v4 uses: JohnnyMorganz/stylua-action@v5
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
version: latest version: latest
+16 -7
View File
@@ -61,23 +61,32 @@ Neovim's configurations are located under the following paths, depending on your
#### Recommended Step #### Recommended Step
[Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) this repo Create your own copy of this repo using GitHub's
so that you have your own copy that you can modify, then install by cloning the ["Use this template"](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)
fork to your machine using one of the commands below, depending on your OS. button so that you have your own copy that you can modify, then install by
cloning your new repo to your machine using one of the commands below,
depending on your OS.
Alternatively, you can [fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo)
this repo if you prefer an easy upstream sync path (e.g., keeping your config
on a separate branch and fast-forwarding `master` from upstream). See the
[discussion in #1740](https://github.com/nvim-lua/kickstart.nvim/issues/1740)
for the tradeoffs between the two approaches.
> [!NOTE] > [!NOTE]
> Your fork's URL will be something like this: > Your repo's URL will be something like this:
> `https://github.com/<your_github_username>/kickstart.nvim.git` > `https://github.com/<your_github_username>/kickstart.nvim.git`
You likely want to remove `nvim-pack-lock.json` from your fork's `.gitignore` You likely want to remove `nvim-pack-lock.json` from your repo's `.gitignore`
file too - it's ignored in the kickstart repo to make maintenance easier, but file too - it's ignored in the kickstart repo to make maintenance easier, but
it's recommended to track it in version control (see `:help vim.pack-lockfile`). it's recommended to track it in version control (see `:help vim.pack-lockfile`).
#### Clone kickstart.nvim #### Clone kickstart.nvim
> [!NOTE] > [!NOTE]
> If following the recommended step above (i.e., forking the repo), replace > If following the recommended step above (i.e., creating your own repo from
> `nvim-lua` with `<your_github_username>` in the commands below > the template or fork), replace `nvim-lua` with `<your_github_username>`
> in the commands below
<details><summary> Linux and Mac </summary> <details><summary> Linux and Mac </summary>
+11 -8
View File
@@ -86,7 +86,7 @@ P.S. You can delete this when you're done too. It's your config now! :)
-- ============================================================ -- ============================================================
-- SECTION 1: OPTIONS -- SECTION 1: OPTIONS
-- Core Neovim settings, leaders, options, basic keymaps, basic autocmds -- Core Neovim settings, leaders, options
-- ============================================================ -- ============================================================
do do
-- Enable faster startup by caching compiled Lua modules -- Enable faster startup by caching compiled Lua modules
@@ -174,8 +174,8 @@ do
end end
-- ============================================================ -- ============================================================
-- SECTION 2: KEYMAPS -- SECTION 2: KEYMAPS & AUTOCMDS
-- basic keymaps -- basic keymaps, basic autocmds
-- ============================================================ -- ============================================================
do do
@@ -749,7 +749,8 @@ do
if path ~= vim.fn.stdpath 'config' and (vim.uv.fs_stat(path .. '/.luarc.json') or vim.uv.fs_stat(path .. '/.luarc.jsonc')) then return end if path ~= vim.fn.stdpath 'config' and (vim.uv.fs_stat(path .. '/.luarc.json') or vim.uv.fs_stat(path .. '/.luarc.jsonc')) then return end
end end
client.config.settings.Lua = vim.tbl_deep_extend('force', client.config.settings.Lua, { local current_settings = client.config.settings --[[@as lspconfig.settings.lua_ls]]
client.config.settings.Lua = vim.tbl_deep_extend('force', current_settings.Lua, {
runtime = { runtime = {
version = 'LuaJIT', version = 'LuaJIT',
path = { 'lua/?.lua', 'lua/?/init.lua' }, path = { 'lua/?.lua', 'lua/?/init.lua' },
@@ -758,10 +759,7 @@ do
checkThirdParty = false, checkThirdParty = false,
-- NOTE: this is a lot slower and will cause issues when working on your own configuration. -- NOTE: this is a lot slower and will cause issues when working on your own configuration.
-- See https://github.com/neovim/nvim-lspconfig/issues/3189 -- See https://github.com/neovim/nvim-lspconfig/issues/3189
library = vim.tbl_extend('force', vim.api.nvim_get_runtime_file('', true), { library = vim.api.nvim_get_runtime_file('', true),
'${3rd}/luv/library',
'${3rd}/busted/library',
}),
}, },
}) })
end, end,
@@ -784,6 +782,11 @@ do
-- Automatically install LSPs and related tools to stdpath for Neovim -- Automatically install LSPs and related tools to stdpath for Neovim
require('mason').setup {} require('mason').setup {}
-- Translates between nvim-lspconfig server names and mason.nvim package names (e.g. lua_ls <-> lua-language-server)
require('mason-lspconfig').setup {
automatic_enable = false, -- Change this to true if you want to automatically enable servers that are installed manually (e.g. via :Mason / :MasonInstall)
}
-- Ensure the servers and tools above are installed -- Ensure the servers and tools above are installed
-- --
-- To check the current status of installed tools and/or manually install -- To check the current status of installed tools and/or manually install