Commit graph

50 commits

Author SHA1 Message Date
Pedro Alves
5fac9be0ab astro-ls: fix typo 2023-01-24 00:08:11 +00:00
Pedro Alves
936fe16971 lsp: add astro 2023-01-24 00:05:30 +00:00
Pedro Alves
1233dc4ed5 nvim-lightbulb: fix helpers 2023-01-23 14:17:07 +00:00
traxys
374fccae9e
nvim-lsp: Put the settings options in the settings namespace (#137)
This is done to avoid mixing setting options and LSP setup options.
2023-01-23 13:52:46 +00:00
traxys
4afb8e7347
nvim-lightbulb: init
* plugins: Add nvim-lightbulb plugin, showing if code actions are available

* Update nvim-lightbulb.nix

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-22 03:36:24 +00:00
Pedro Alves
238f0c590e misc: fix mkEnableOption descriptions 2023-01-22 03:32:08 +00:00
traxys
23327700e2
plugins/rust-tools: Add a plugins for LSP extensions for rust-analyzer (#132) 2023-01-21 18:52:56 +00:00
traxys
2f2f724f6a
nvim-lsp: Add settings for rust-analyzer (#113)
* nvim-lsp: Add settings for rust-analyzer

Because the settings are quite complex they are auto-generated. This
commit adds the script creating it & the generated options.

* Update flake.nix

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-21 17:15:46 +00:00
Gaétan Lepage
3c918cfc92
misc: remove trailing whitespaces (#121)
Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-21 17:12:09 +00:00
Pedro Alves
11da3bfbc1 fix several broken options 2023-01-19 16:02:40 +00:00
Alexander Nortung
3f9effc575
general: add package options (#127)
* barbar: package option

* Base16: package option

* gruvbox: package option

* nord: package option

* one: package option

* onedark: package option

* tokyonight: package option

* nvim-cmp: package option

* coq: package option

* lspkind: package option

* helpers: added package option to mkPlugin

* fugitive: package option

* gitgutter: package option

* gitsigns: package option

* neogit: package option

* ledger: package option

* nix: package option

* plantuml-syntax: package option

* treesitter-context: package option + formatting

* treesitter-refactor: package option + formatting

* treesitter: package option

* zig: package option

* null-ls: package option

* null-ls/servers: package option

* lsp-lines: package option

* lspsaga: package option

* trouble: package option

* luasnip: added description for package option

* airline: package option

* lightline: package option

* lualine: package option

* telescope: package option

* telescope/frecency: package option

* telescope/fzf-native: package option

* telescope/media-files: package option

* comment-nvim: package option

* vim-commentary: package option

* dashboard: package option

* easyescape: package option

* emmet: package option

* endwise: package option

* floaterm: package option

* goyo: package option

* intellitab: package option

* mark-radar: package option

* notify: package option

* nvim-autopairs: package option

* nvim-tree: package option

* project-nvim: package option

* specs: package option

* startify: package option

* surround: package option

* undotree: package option
2023-01-19 10:45:15 +00:00
Gaétan Lepage
83f6e1647f
nvim-lsp: add sumneko_lua language server (#109) 2023-01-19 10:37:36 +00:00
Alexander Nortung
2180675750
lsp: added packageoption to basic lsp servers (#61)
* nvim-lsp: added package options for basic servers

* nvim-lsp: updated package options

* nvim-lsp: added cmd to plugins that share dependency
2023-01-19 10:36:56 +00:00
traxys
b1ba5f873e
lsp: add support for several LSP clients (#111)
* nvim-lsp: Allow to pass settings to clients

Some clients (like rust-analyzer, nil_ls, ...) can take settings
specified in the setup function. This commit adds two fields for the
'mkLsp' function to handle this:

- extraOptions: define nix module options
- settings: A function that takes the corresponding lsp module config
  and formats it as a settings object compatible with the server.

* nvim-lsp: Add nil-ls (for Nix)

* nvim-lsp: Add bashls (for Bash)

* nvim-lsp: Add dartls, for dart

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-10 22:47:52 +00:00
Gaétan Lepage
02f28c7b48
nvim-lsp: add texlab language server (#110) 2023-01-10 12:42:22 +00:00
Gaétan Lepage
f32627307a
nvim-lsp: add bashls language server (#108) 2023-01-10 12:41:47 +00:00
Alexander Nortung
de6519f713
nvim-lsp/tailwindcss: init (#85) 2022-12-15 17:03:31 +00:00
Pedro Alves
db8a2c0b97 lsp-lines: add currentLine option 2022-12-11 19:39:51 +00:00
Syahdan
472e10f069
lsp: add bufnr to passed argument (#82)
* lsp: add bufnr to passed argument

* lsp: add docs for last commit
2022-12-05 02:49:37 +00:00
*Kim Zick
78f5f36738
fix: basic flake check should work now (#74) 2022-12-01 23:15:21 +00:00
Pedro Alves
27bf782ed8 nvim-lsp: try again to fix haskell gaaaaa 2022-12-01 15:15:54 +00:00
Pedro Alves
46c0128a36 nvim-lsp: fix hls again i hope it's the last time <.< 2022-12-01 14:22:15 +00:00
Pedro Alves
398c96ffe0 nvim-lsp: fix typo in hls config
I'm an idiot that can't type :')
2022-12-01 14:18:23 +00:00
Pedro Alves
5242d9333e nvim-lsp: fix hls 2022-12-01 14:15:46 +00:00
Pedro Alves
36bc31ed5c lsp: add haskell language server 2022-12-01 14:05:46 +00:00
Alexander Nortung
bc045bd50a
vuels: using non deprecated version (#77) 2022-11-30 17:04:24 +00:00
Alexander Nortung
a601a75d0c
nvim-lsp: added denols (#68) 2022-11-16 12:37:35 +00:00
Pedro Alves
4f08c8a4bf trouble.nvim: init 2022-11-15 10:14:43 +00:00
Alexander Nortung
e19114a4d0
nvim-lsp/tsserver: init (#57) 2022-10-28 00:40:40 +01:00
Pedro Alves
f0ad4cd2ec lsp: fix issue with everything other than elixir 2022-10-22 22:15:03 +01:00
Pedro Alves
ce909992f6 lsp: fix elixir again 2022-10-22 15:49:04 +01:00
Pedro Alves
c7b561b40c lsp: fix elixir lsp 2022-10-22 15:45:03 +01:00
Pedro Alves
2db1c36c30 lsp: add elixirls 2022-10-22 14:55:22 +01:00
Pedro Alves
4ddd3969e5
nixvim: support standalone nixvim
This represents a major rearchitecture for nixvim, so I'm leaving this up to track the progress for now, and to serve as a reference for any breaking changes during transition.

The main change is, of course, being able to use nixvim standalone. To do this, you should use the new build function, which takes in two arguments: the system architecture (e.g. x86_64-linux) and the configuration. For the new configuration, do not use the programs.nixvim. prefix.

For module development, the main change is that you should no longer prefix your modules with programs.nixvim..
2022-09-18 11:19:23 +01:00
Pedro Alves
f9304b5f6a lsp-lines: fix vim.diagnostic typo 2022-08-28 21:30:06 +01:00
Pedro Alves
5bc0a552ce lsp-lines: init 2022-08-28 01:33:43 +01:00
Alexander Nortung
d40a8b99f3
Refactor language servers and add eslint, jsonls, cssls and html servers. (#28)
* nvim-lsp: refactor of basic language servers

* nvim-lsp: added html, css, json and eslint language servers

* nvim-lsp: added gdscript lsp

* nvim-lsp: added vuels
2022-07-28 20:37:49 +01:00
imMaturana
c619977f03 nvim-lsp/gopls: fix syntax 2022-07-11 22:13:14 +01:00
imMaturana
ce16aebd2f nvim-lsp: add gopls support 2022-07-11 22:13:14 +01:00
Gabriel Maturana
9d1911a5d5
nvim-lsp: add zls support 2022-01-17 19:02:08 +00:00
Pedro Alves
f8b70a30ea coq-nvim: init plugin
still need to add most options, but this is enough to be usable
right now! This also sets up the work needed for other completion
frameworks, notably things like nvim-cmp and compe.
2022-01-09 23:04:12 +00:00
Pedro Alves
f477c5626d fully remove capabilities 2022-01-01 13:43:48 +00:00
Pedro Alves
3c9d3449ad disable LSP capabilities for now... (temp. fix #7)
This wasn't being used by anyone, but it's generating incorrect
code, for some reason
2022-01-01 13:39:13 +00:00
Builditluc
4f796070f9 fix nvim-lsp #7 2021-12-14 17:19:53 +00:00
Builditluc
42870eb04b nvim-lsp: add pyright lsp 2021-11-26 11:10:17 +00:00
Builditluc
1e98f2f597 nvim-lsp: add options 2021-11-26 11:10:17 +00:00
Pedro Alves
0d51b37154 nvim-autopairs: init plugin
Also disabled Nix for treesitter temporarily, it's broken right now
2021-03-17 22:33:03 +00:00
Pedro Alves
b13df5bd67 lspsaga: init plugin 2021-02-10 20:56:21 +00:00
Pedro Alves
f78cc62277 rnix-lsp: fix wrong order in the config 2021-02-01 16:28:49 +00:00
Pedro Alves
ba79ba0652 nvim-lsp: create nvim LSP plugin 2021-02-01 15:54:53 +00:00