big changes
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!-- Any bug report not following this template will be immediately closed. Thanks -->
|
||||
|
||||
## Describe the bug
|
||||
<!-- A clear and concise description of what the bug is. -->
|
||||
|
||||
## To Reproduce
|
||||
<!-- Steps to reproduce the behavior. -->
|
||||
1. ...
|
||||
|
||||
## Desktop
|
||||
<!-- please complete the following information. -->
|
||||
- OS:
|
||||
- Terminal:
|
||||
|
||||
## Neovim Version
|
||||
<!-- Output of running `:version` from inside of neovim. -->
|
||||
|
||||
```
|
||||
```
|
||||
@@ -1,8 +0,0 @@
|
||||
***************************************************************************
|
||||
**NOTE**
|
||||
Please verify that the `base repository` above has the intended destination!
|
||||
Github by default opens Pull Requests against the parent of a forked repository.
|
||||
If this is your personal fork and you didn't intend to open a PR for contribution
|
||||
to the original project then adjust the `base repository` accordingly.
|
||||
**************************************************************************
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
# Check Lua Formatting
|
||||
name: Check Lua Formatting
|
||||
on: pull_request_target
|
||||
|
||||
jobs:
|
||||
stylua-check:
|
||||
if: github.repository == 'nvim-lua/kickstart.nvim'
|
||||
name: Stylua Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Stylua Check
|
||||
uses: JohnnyMorganz/stylua-action@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: latest
|
||||
args: --check .
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
return {
|
||||
'ray-x/telescope-ast-grep.nvim',
|
||||
dependencies = {
|
||||
{ 'nvim-lua/plenary.nvim' },
|
||||
{ 'nvim-telescope/telescope.nvim' },
|
||||
},
|
||||
}
|
||||
@@ -17,7 +17,7 @@ return { -- Autoformat
|
||||
-- Disable "format_on_save lsp_fallback" for languages that don't
|
||||
-- have a well standardized coding style. You can add additional
|
||||
-- languages here or re-enable it for the disabled ones.
|
||||
local disable_filetypes = { c = true, cpp = true, typescript = true }
|
||||
local disable_filetypes = { cpp = true, typescript = true }
|
||||
return {
|
||||
timeout_ms = 500,
|
||||
lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype],
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
return {
|
||||
'hat0uma/csvview.nvim',
|
||||
---@module "csvview"
|
||||
---@type CsvView.Options
|
||||
opts = {
|
||||
parser = { comments = { '#', '//' } },
|
||||
keymaps = {
|
||||
-- Text objects for selecting fields
|
||||
textobject_field_inner = { 'if', mode = { 'o', 'x' } },
|
||||
textobject_field_outer = { 'af', mode = { 'o', 'x' } },
|
||||
-- Excel-like navigation:
|
||||
-- Use <Tab> and <S-Tab> to move horizontally between fields.
|
||||
-- Use <Enter> and <S-Enter> to move vertically between rows and place the cursor at the end of the field.
|
||||
-- Note: In terminals, you may need to enable CSI-u mode to use <S-Tab> and <S-Enter>.
|
||||
jump_next_field_end = { '<Tab>', mode = { 'n', 'v' } },
|
||||
jump_prev_field_end = { '<S-Tab>', mode = { 'n', 'v' } },
|
||||
jump_next_row = { '<Enter>', mode = { 'n', 'v' } },
|
||||
jump_prev_row = { '<S-Enter>', mode = { 'n', 'v' } },
|
||||
},
|
||||
},
|
||||
cmd = { 'CsvViewEnable', 'CsvViewDisable', 'CsvViewToggle' },
|
||||
}
|
||||
@@ -2,9 +2,4 @@
|
||||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {
|
||||
{
|
||||
'OXY2DEV/markview.nvim',
|
||||
lazy = false,
|
||||
},
|
||||
}
|
||||
return {}
|
||||
|
||||
@@ -154,10 +154,41 @@ return { -- LSP Configuration & Plugins
|
||||
-- - capabilities (table): Override fields in capabilities. Can be used to disable certain LSP features.
|
||||
-- - settings (table): Override the default settings passed when initializing the server.
|
||||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||
local lspconfig = require 'lspconfig'
|
||||
local root_patterns = { 'CMakeLists.txt', '.git' }
|
||||
local servers = {
|
||||
clangd = {},
|
||||
clangd = {
|
||||
-- tell clangd where to find compile_commands.json
|
||||
cmd = {
|
||||
'clangd',
|
||||
'--background-index',
|
||||
'--clang-tidy',
|
||||
'--compile-commands-dir=build', -- <-- point at the build folder
|
||||
},
|
||||
root_dir = lspconfig.util.root_pattern(unpack(root_patterns)),
|
||||
-- clangd auto-detects filetypes c/cpp/etc.
|
||||
},
|
||||
arduino_language_server = {
|
||||
-- point at the binary (Mason puts it on your PATH)
|
||||
cmd = {
|
||||
'arduino-language-server',
|
||||
'-cli',
|
||||
'arduino-cli',
|
||||
'-cli-config',
|
||||
os.getenv 'HOME' .. '/.arduino15/arduino-cli.yaml',
|
||||
'-fqbn',
|
||||
'arduino:avr:uno', -- <- replace with your board’s FQBN
|
||||
'--verbose',
|
||||
},
|
||||
filetypes = { 'arduino', 'ino', 'pde' },
|
||||
root_dir = function(fname)
|
||||
return lspconfig.util.root_pattern('*.ino', '.git')(fname) or vim.loop.cwd()
|
||||
end,
|
||||
settings = {}, -- no extra settings for now
|
||||
},
|
||||
gopls = {},
|
||||
pyrefly = {},
|
||||
--pyright = {},
|
||||
rust_analyzer = {},
|
||||
markdownlint = {},
|
||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||
@@ -207,7 +238,8 @@ return { -- LSP Configuration & Plugins
|
||||
'typescript-language-server',
|
||||
-- Python
|
||||
'ruff',
|
||||
'pyright',
|
||||
'pyrefly',
|
||||
--'pyright',
|
||||
-- C
|
||||
'clangd',
|
||||
-- markdown
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
{
|
||||
'OXY2DEV/markview.nvim',
|
||||
lazy = false,
|
||||
priority = 49,
|
||||
},
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
return {
|
||||
'danymat/neogen',
|
||||
config = true,
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
return {
|
||||
-- 'rcarriga/nvim-notify',
|
||||
-- event = 'VeryLazy',
|
||||
-- opts = {
|
||||
-- background_colour = '#000000',
|
||||
-- },
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
return {
|
||||
'cameron-wags/rainbow_csv.nvim',
|
||||
config = true,
|
||||
ft = {
|
||||
'csv',
|
||||
'tsv',
|
||||
'csv_semicolon',
|
||||
'csv_whitespace',
|
||||
'csv_pipe',
|
||||
'rfc_csv',
|
||||
'rfc_semicolon',
|
||||
},
|
||||
cmd = {
|
||||
'RainbowDelim',
|
||||
'RainbowDelimSimple',
|
||||
'RainbowDelimQuoted',
|
||||
'RainbowMultiDelim',
|
||||
},
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
return { -- Highlight, edit, and navigate code
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
dependencies = { 'OXY2DEV/markview.nvim' },
|
||||
build = ':TSUpdate',
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
|
||||
Reference in New Issue
Block a user