nvim: enable more language servers
This commit is contained in:
parent
aec0d3b8f3
commit
928a557707
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, mail, ... }:
|
||||
{ pkgs, mail, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./nixvim ];
|
||||
|
@ -1,14 +1,11 @@
|
||||
{ config, pkgs, lib, mail, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# TODO
|
||||
# Linter (ale)
|
||||
# Markdown spellcheck
|
||||
# Autocomplete
|
||||
# Missing plugins
|
||||
# Telescope and fuzzy finder
|
||||
# Ruff linter for python and black formatting on save
|
||||
# Language support for python, go, tofu, terraform, yaml
|
||||
# Format on exit
|
||||
# Trailing spaces in statusline
|
||||
# Good example: https://github.com/fred-drake/neovim/blob/master/config/python/language.nix
|
||||
|
||||
@ -68,6 +65,11 @@
|
||||
ruff.formatEnabled = false;
|
||||
};
|
||||
};
|
||||
lsp.servers.gopls.enable = true;
|
||||
lsp.servers.nixd.enable = true;
|
||||
lsp.servers.terraform_lsp.enable = true;
|
||||
lsp.servers.tflint.enable = true;
|
||||
lsp.servers.yamlls.enable = true;
|
||||
lsp-format.enable = true; # Automatically format on save
|
||||
lsp-lines.enable = true; # Display lsp hints in lines
|
||||
lsp-signature.enable = true; # Show function signature when typing
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ...}:
|
||||
{ ... }:
|
||||
{
|
||||
programs.nixvim = {
|
||||
plugins.telescope = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user