mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 00:45:17 -06:00
update CI
This commit is contained in:
parent
b65b7296e5
commit
f9ae40f53c
5 changed files with 18 additions and 18 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
push: true
|
||||
tags: ghcr.io/iofq/nvim:latest
|
||||
-
|
||||
name: Extract .tar.gz from container
|
||||
name: Extract full .tar.gz from container
|
||||
uses: shrink/actions-docker-extract@v1
|
||||
id: extract
|
||||
with:
|
||||
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
path: /app/neovim-x86_64-linux.AppImage
|
||||
|
||||
-
|
||||
name: Extract .tar.gz from container
|
||||
name: Extract minimal .tar.gz from container
|
||||
uses: shrink/actions-docker-extract@v1
|
||||
id: extract-minimal
|
||||
with:
|
||||
|
|
|
|||
24
Dockerfile
24
Dockerfile
|
|
@ -4,15 +4,15 @@ WORKDIR /app
|
|||
COPY . .
|
||||
|
||||
RUN nix bundle \
|
||||
--bundler github:ralismark/nix-appimage \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes .#full && \
|
||||
mv $(realpath nvim-x86_64.AppImage) neovim-x86_64-linux.AppImage && \
|
||||
nix-collect-garbage
|
||||
|
||||
RUN nix bundle \
|
||||
--bundler github:ralismark/nix-appimage \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes .#minimal && \
|
||||
mv $(realpath nvim-x86_64.AppImage) neovim-x86_64-linux-minimal.AppImage && \
|
||||
nix-collect-garbage
|
||||
-o nvim.AppImage \
|
||||
--bundler github:ralismark/nix-appimage \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes .#full && \
|
||||
mv $(realpath nvim.AppImage) neovim-x86_64-linux.AppImage && \
|
||||
nix bundle \
|
||||
-o nvim-minimal.AppImage \
|
||||
--bundler github:ralismark/nix-appimage \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes .#minimal && \
|
||||
mv $(realpath nvim-minimal.AppImage) neovim-x86_64-linux-minimal.AppImage && \
|
||||
nix-collect-garbage
|
||||
|
|
|
|||
|
|
@ -26,5 +26,3 @@ require('gitsigns').setup{
|
|||
return '<Ignore>'
|
||||
end, {expr=true}) end
|
||||
}
|
||||
|
||||
require("neogit").setup()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
-- Setup language servers.
|
||||
local lspconfig = require('lspconfig')
|
||||
lspconfig.gopls.setup {}
|
||||
lspconfig.phpactor.setup {}
|
||||
|
||||
-- Global mappings.
|
||||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||
|
|
@ -31,7 +30,7 @@ vim.api.nvim_create_autocmd('LspAttach', {
|
|||
vim.keymap.set({ 'n', 'v' }, '<leader>ca', vim.lsp.buf.code_action, opts)
|
||||
vim.keymap.set("n", "gd", "<cmd>Telescope lsp_definitions<cr>", { buffer = bufnr })
|
||||
vim.keymap.set("n", "gi", "<cmd>Telescope lsp_implementations<cr>", { buffer = bufnr })
|
||||
vim.keymap.set("n", "gr", "<cmd>Telescope lsp_references<cr>", { buffer = bufnr })
|
||||
vim.keymap.set("n", "gR", "<cmd>Telescope lsp_references<cr>", { buffer = bufnr })
|
||||
vim.keymap.set("n", "<leader>dt", "<cmd>Telescope lsp_type_definitions<cr>", { buffer = bufnr })
|
||||
vim.keymap.set("n", "<leader>ds", "<cmd>Telescope lsp_document_symbols<cr>", { buffer = bufnr })
|
||||
vim.keymap.set("n", "<leader>dS", "<cmd>Telescope lsp_dynamic_workspace_symbols<cr>", { buffer = bufnr })
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
tree-sitter-c
|
||||
tree-sitter-dockerfile
|
||||
tree-sitter-go
|
||||
tree-sitter-html
|
||||
tree-sitter-javascript
|
||||
tree-sitter-json
|
||||
tree-sitter-lua
|
||||
|
|
@ -24,6 +25,8 @@
|
|||
tree-sitter-markdown-inline
|
||||
tree-sitter-php
|
||||
tree-sitter-python
|
||||
tree-sitter-svelte
|
||||
tree-sitter-typescript
|
||||
tree-sitter-yaml
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue